Invention Grant
- Patent Title: Lossless bi-directional formatting of program source code
-
Application No.: US16456665Application Date: 2019-06-28
-
Publication No.: US10970047B2Publication Date: 2021-04-06
- Inventor: Dominic Evans , Ledina Hido-Evans , Adrian J. Preston
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Heslin Rothenberg Farley & Mesiti P.C.
- Agent William A. Kinnaman, Esq.
- Main IPC: G06F8/33
- IPC: G06F8/33 ; G06F8/71

Abstract:
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.
Public/Granted literature
- US20190324728A1 LOSSLESS BI-DIRECTIONAL FORMATTING OF PROGRAM SOURCE CODE Public/Granted day:2019-10-24
Information query