Auto suggestion of coding error correction
AssigneeMicrosoft Corporation
InventorsMatthew Wayne Gertz, Sam Spencer, Ernest Kien-Keung Tong, Li Zhang
Life of this patent
Estimating the term…
Abstract
Suggested corrections for a code error are provided by a compiler or code editor, for example. Thus, there is much less ambiguity about how an error should be corrected. Preferably, a predetermined number of suggested corrections are presented to the user (e.g., up to three suggestions), and the user can choose a desired suggested correction. Corrections for a given error can be made, not only at the location of the error, but throughout the code document, or other files in the user's solution. Furthermore, by undoing one correction and trying another, the user can go through all of the suggested corrections to determine which suggestion would be most preferable.
Claims29
In a computer system having a graphical user interface including a display and a user interface selection device, a method of correcting a code error in a code listing, comprising the steps of:
- determining at least one suggested correction for the code error;
- generating an error resolution window on the display comprising a predetermined number of suggested corrections;
- receiving a selection signal indicative of the user interface selection device selecting one of the suggested corrections;
- and
- correcting the code error in the code listing responsive to the selected suggested correction.
A computer-readable medium having computer-executable instructions for performing steps for correcting a code error in a code listing comprising:
- determining at least one suggested correction for the code error;
- generating an error resolution window on a display and comprising a predetermined number of suggested corrections;
- receiving a selection signal indicative of a user interface selection device selecting one of the suggested corrections;
- and
- correcting the code error in the code listing responsive to the selected suggested correction.
An error correction interface for use with a code window and an error in the code listing displayed in the code window, comprising:
- a header comprising information about the error;
- and
- at least one suggested correction for the error.
A system for correcting a code error in a code listing of programming language code, comprising:
- a module that receives the code listing;
- a display that displays the code listing;
- and
- a processor that identifies a code error in the code listing, determines at least one suggested correction for the code error, and provides the at least one suggested correction to the display for display in an error resolution window overlaying the code listing, the processor correcting the code error responsive to a selected suggested correction.
Dependencies are inferred from the claim text.