Prev | Next |
Code Editor Context Menu
When working on a file with a code editor, you can perform a number of code search and editing operations to review the contents of the file. These options are available through the editor context menu, and can vary depending on which code editor you are using.
Access
Context Menu |
Right-click on the code text string you are working on |
Options
Option |
Description |
See also |
---|---|---|
Go to Declaration |
Locate and highlight the declaration of a symbol in the source code. |
|
Go to Definition |
Locate and highlight the definition of a symbol in the source code (applicable to languages such as C++ and Delphi, where symbols are declared and defined in separate places). |
|
Search for '<string>' |
Display a submenu providing options to locate the selected text string in a range of locations.
|
Search In Files Model Search Pre-Defined Searches Script Editor |
Search Intelli-sense | <list of query names> |
Perform a search on the specified string in any Intelli-sense libraries listed in the active Execution Analyzer script, and display the results in the Find in Files window, 'Intelli-sense Search' tab. Shortcut key: |
Search Intelli-sense |
Set Debugger to Line |
(If the debugger is executing and has reached a breakpoint.) Move the execution point to the current line. Check that you do not skip over any code or declarations that affect the next section of code being debugged. |
|
Display Variable |
(If the debugger is executing.) Open the Locals window and highlight the local variable for the current point in the code. |
View the Local Variables |
Show in String Viewer |
Display the full contents of a variable string in the String Viewer. |
View Content Of Long Strings |
Create Use Case for '<string>' |
Display the 'Create Use Case For Method' dialog, through which you create a Use Case for the method containing the text string. |
Create Use Case For Method |
Breakpoint |
Display a submenu of options for creating a recording marker on the selected line of code. The recording markers you can add include:
|
Set Record Markers |
Testpoints |
Display options to add a new Testpoint, show the Testpoints Manager (Testpoints window) or edit an existing Testpoint if one or more are already defined at the selected location. (The sub-options depend on the type of code file you are reviewing.) |
Testpoint Editor The Testpoints Window |
XML Validation |
Allows an xml document to be checked for compliance with its own schema references or using a user specified schema; either a local schema file or URL. |
XML Validation |
Open (Close) IME |
Open (or close) the Input Method Editor, so that you can enter text in a selected foreign language script, such as Japanese. You set the keyboard language using the Windows Control Panel - Regional and Language Options facility. |
|
Line Numbers |
(Script Editor only.) Show or hide the code line numbers on the left hand side of the editor screen. |
|
Undo
|
These six options provide simple functions for editing the code. |
Notes
Learn more