Lossless bi-directional formatting of program source code
A method, computer program product, and system includes a processor(s) of a host obtaining, 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. The processor(s) identify formatting in th...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method, computer program product, and system includes a processor(s) of a host obtaining, 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. The processor(s) identify formatting in the modified version implemented by an editor executing on the client and remove the formatting. The processor(s) transform the modified version into a first storage structure that includes content of the modified version without the identified formatting. The processor(s) identify one or more differences between the first storage structure representing the modified version and a second storage structure (an unmodified version of the program source code stored in the repository). The processor(s) store the one or more differences in the repository. |
---|