Application development environment with features for aiding a user in writing function calls
First Claim
Patent Images
1. A computer-readable memory medium for creating a computer program, the computer-readable memory medium storing program instructions executable to:
- in source code of the computer program, display a first function call written in a programming language that can be compiled into executable code, wherein the first function call takes a first parameter;
in response to detecting that a cursor is positioned within the first function call, display a GUI element corresponding to the first parameter;
in response to receiving user input to the GUI element corresponding to the first parameter, display a graphical user interface for selecting a parameter value for the first parameter; and
in response to user input to the graphical user interface selecting a parameter value for the first parameter, automatically modify the first function call displayed in the source code by inserting the selected parameter value for the first parameter in the first function call, wherein said inserting modifies the source code.
5 Assignments
0 Petitions
Accused Products
Abstract
One embodiment of the invention comprises a system and method for aiding a user in specifying function parameter values in a computer program. An application development environment (ADE) may be operable to display parameter assistant user interfaces for aiding the user in specifying various function parameter values.
Another embodiment of the invention comprises a system and method for automatically declaring variables passed as parameters in function calls.
35 Citations
37 Claims
-
1. A computer-readable memory medium for creating a computer program, the computer-readable memory medium storing program instructions executable to:
-
in source code of the computer program, display a first function call written in a programming language that can be compiled into executable code, wherein the first function call takes a first parameter; in response to detecting that a cursor is positioned within the first function call, display a GUI element corresponding to the first parameter; in response to receiving user input to the GUI element corresponding to the first parameter, display a graphical user interface for selecting a parameter value for the first parameter; and in response to user input to the graphical user interface selecting a parameter value for the first parameter, automatically modify the first function call displayed in the source code by inserting the selected parameter value for the first parameter in the first function call, wherein said inserting modifies the source code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A method comprising:
-
in source code of a computer program, displaying a first function call written in a programming language that can be compiled into executable code, wherein the first function call takes a first parameter; in response to detecting that a cursor is positioned within the first function call, displaying a GUI element corresponding to the first parameter; in response to receiving user input to the GUI element corresponding to the first parameter, displaying a graphical user interface for selecting a parameter value for the first parameter; and in response to user input to the graphical user interface selecting a parameter value for the first parameter, automatically modifying the first function call displayed in the source code by inserting the selected parameter value for the first parameter in the first function call, wherein said inserting modifies the source code.
-
-
25. A system comprising:
-
one or more processors; a display device; and memory storing program instructions; wherein the program instructions are executable by the one or more processors to; in source code of a computer program, display a first function call written in a programming language that can be compiled into executable code, wherein the first function call takes a first parameter; in response to detecting that a cursor is positioned within the first function call, display a GUI element corresponding to the first parameter on the display device; in response to receiving user input to the GUI element corresponding to the first parameter, display a graphical user interface for selecting a parameter value for the first parameter on the display device; and in response to user input to the graphical user interface selecting a parameter value for the first parameter, automatically modify the first function call displayed in the source code by inserting the selected parameter value for the first parameter in the first function call, wherein said inserting modifies the source code.
-
-
26. A computer-readable memory medium for creating a computer program, the computer-readable memory medium storing program instructions executable to:
-
in source code of the computer program, display a first function call written in a programming language that can be compiled into executable code, wherein the first function call takes a first parameter; display a function prototype for the first function call; display a GUI element corresponding to the first parameter of the first function call within the function prototype for the first function call, wherein the GUI element has a graphical appearance visually indicating that user input to the GUI element causes a graphical user interface for selecting a parameter value for the first parameter to be displayed; in response to receiving user input to the GUI element corresponding to the first parameter, display the graphical user interface for selecting a parameter value for the first parameter; and in response to user input to the graphical user interface selecting a parameter value for the first parameter, automatically modify the first function call displayed in the source code by inserting the selected parameter value for the first parameter in the first function call, wherein said inserting modifies the source code.
-
-
27. A system comprising:
-
one or more processors; a display device; and memory storing program instructions; wherein the program instructions are executable by the one or more processors to; in source code of a computer program, display a first function call written in a programming language that can be compiled into executable code, wherein the first function call takes a first parameter; display on the display device a function prototype for the first function call; display on the display device a GUI element corresponding to the first parameter of the first function call within the function prototype for the first function call, wherein the GUI element has a graphical appearance visually indicating that user input to the GUI element causes a graphical user interface for selecting a parameter value for the first parameter to be displayed; in response to receiving user input to the GUI element corresponding to the first parameter, display on the display device the graphical user interface for selecting a parameter value for the first parameter; and in response to user input to the graphical user interface selecting a parameter value for the first parameter, automatically modify the first function call displayed in the source code by inserting the selected parameter value for the first parameter in the first function call, wherein said inserting modifies the source code.
-
-
28. A computer-readable memory medium for creating a computer program, the computer-readable memory medium storing program instructions executable to:
-
detect that a cursor of a source code window displaying source code of the computer program is positioned on a first parameter in a first function call, wherein the first parameter in the first function call comprises an undeclared variable; receive user input requesting a variable declaration for the undeclared variable to be automatically added to the source code of the computer program; determine a first location in the source code to insert the variable declaration for the undeclared variable in response to the user input; and automatically insert the variable declaration for the undeclared variable at the first location in the source code, wherein said inserting modifies the source code. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35)
-
-
36. A method comprising:
-
detecting that a cursor of a source code window displaying source code of a computer program is positioned on a first parameter in a first function call, wherein the first parameter in the first function call comprises an undeclared variable; receiving user input requesting a variable declaration for the undeclared variable to be automatically added to the source code of the computer program; determining a first location in the source code to insert the variable declaration for the undeclared variable in response to the user input; and automatically inserting the variable declaration for the undeclared variable at the first location in the source code, wherein said inserting modifies the source code.
-
-
37. A system comprising:
-
a processor; and a memory medium storing program instructions; wherein the processor is operable to execute the program instructions to; detect that a cursor of a source code window displaying source code of a computer program is positioned on a first parameter in a first function call, wherein the first parameter in the first function call comprises an undeclared variable; receive user input requesting a variable declaration for the undeclared variable to be automatically added to the source code of the computer program; determine a first location in the source code to insert the variable declaration for the undeclared variable in response to the user input; and automatically insert the variable declaration for the undeclared variable at the first location in the source code, wherein said inserting modifies the source code.
-
Specification