×

LOSSLESS BI-DIRECTIONAL FORMATTING OF PROGRAM SOURCE CODE

  • US 20190324728A1
  • Filed: 06/28/2019
  • Published: 10/24/2019
  • Est. Priority Date: 05/11/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • obtaining, by one or more processors of a host, from a client, via a communication connection over a network, a request to commit a modified version of program source code to a repository administered by the host;

    identifying, by the one or more processors, formatting in the modified version implemented by an editor executing on the client;

    removing, by the one or more processors, the identified formatting from the modified version;

    transforming, by the one or more processors, the modified version into a first storage structure comprising content of the modified version without the identified formatting, wherein the first storage structure comprises a canonical internal representation;

    identifying, by the one or more processors, one or more differences between the first storage structure representing the modified version and a second storage structure, wherein the second storage structure comprises an unmodified version of the program source code stored in the repository; and

    storing, by the one or more processors, the one or more differences in the repository.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×