US 12,001,322 B2
Code linting in dynamic application environments
Michael Shinichiro Vaquier, Seattle, WA (US); and Gergely Z. Kota, Kirkland, WA (US)
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC, Redmond, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on Feb. 9, 2022, as Appl. No. 17/668,220.
Prior Publication US 2023/0251958 A1, Aug. 10, 2023
Int. Cl. G06F 11/36 (2006.01); G06F 8/75 (2018.01)
CPC G06F 11/3676 (2013.01) [G06F 8/75 (2013.01); G06F 11/3688 (2013.01); G06F 11/3692 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computing apparatus comprising:
one or more computer readable storage media;
one or more processors operatively coupled with the one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media that, when executed by the one or more processors, direct the computing apparatus to at least:
display, in a code editor interface, code statements of a script relating to a content object hosted by an application, wherein the content object comprises a spreadsheet workbook;
obtain an initial state of the content object from the application, wherein the initial state identifies elements of the spreadsheet workbook;
generate a model that reflects at least the initial state of the content object;
perform an analysis of the code statements with respect to the model to identify a change to an element of the spreadsheet workbook implied by a code statement of the code statements;
update the model to reflect the change to the element implied by the code statement;
determine, based on the updated model, that the change to the element implied by the code statement will cause an error at a time of execution of the code statement; and
display an indication of the error in the code editor interface.