Prediction and pre-selection of an element in syntax completion
First Claim
Patent Images
1. A system for predicting a desired element associated with a reference for syntax completion in source code, comprising:
- a prediction component in a software design environment that predicts a desired element for syntax completion of a statement in source code from a plurality of elements comprising methods associated with a class of an object oriented programming object associated with a reference comprising the object-oriented programming object, the prediction of the desired element based on information associated with past use of at least one element of the plurality of the elements associated with the reference, wherein the prediction is triggered by receiving the reference followed by a scope operator comprising a period (.) or double colon (;
;
); and
a data store for storing the information associated with the past use of the at least one element associated with the reference.
4 Assignments
0 Petitions
Accused Products
Abstract
A system, method and computer-readable medium supports a feature that predicts a selection based on history of use and uses this information to pre-select an item in a list for syntax completion in a source program editor.
21 Citations
41 Claims
-
1. A system for predicting a desired element associated with a reference for syntax completion in source code, comprising:
-
a prediction component in a software design environment that predicts a desired element for syntax completion of a statement in source code from a plurality of elements comprising methods associated with a class of an object oriented programming object associated with a reference comprising the object-oriented programming object, the prediction of the desired element based on information associated with past use of at least one element of the plurality of the elements associated with the reference, wherein the prediction is triggered by receiving the reference followed by a scope operator comprising a period (.) or double colon (;
;
); anda data store for storing the information associated with the past use of the at least one element associated with the reference. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method for completing syntax in source code, the method comprising:
in response to detecting a triggering event comprising receiving a reference comprising an object-oriented programming object followed by a scope operator comprising a period (.) or double colon (;
;
), when the source code is being created, predicting a desired element for syntax completion associated with the reference based on information associated with past use of at least one of a plurality of elements associated with the reference.- View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40)
-
41. A computer-readable storage medium comprising computer-executable instructions for:
-
in response to detecting a triggering event comprising receiving a reference comprising an object-oriented programming object followed by a scope operator comprising a period (.) or double colon (;
;
), indicating that an element associated with the reference is to be selected when editing source code, predicting a desired element associated with a reference based on information associated with past use of a plurality of elements associated with the reference;displaying a list of elements associated with the reference; and distinguishing the predicted element for the other elements in the displayed list of elements associated with the reference.
-
Specification