Prev | Next |
Code Editor Toolbar
When you are reviewing the code for a part of your model in the Source Code editor, you can access a wide range of display and editing functions from the editor toolbar.
Code Editor Toolbar
Toolbar Options
Option |
Description |
See also |
---|---|---|
Structure Tree |
Click on this icon to show or hide the element hierarchy panel (the left panel of the Source Code editor). |
|
Line Numbers |
Click on this icon to show or hide the line numbers against the lines of code. |
|
Source Code Engineering Properties |
Click on the drop-down arrow to display a menu of options to select individual 'Source Code Engineering' pages of the 'Preferences' dialog, from which you can configure display and behavior options for source code engineering:
|
Editor Language Properties Options - Code Editors Source Code Options Code Editor Key Bindings |
Editor Functions |
Click on the drop-down arrow to display a menu providing access to a range of code editing functions:
|
|
Save Source and Resynchronize Class |
Click on this icon to save the source code and resynchronize the code and the Class in the model. |
|
Code Templates |
Click on this icon to access the Code Templates Editor, to edit or create code templates for code generation. |
Code Templates Editor |
Find in Project Browser |
For a selected line of code, click on this icon to highlight the corresponding structure in the Project Browser. If there is more than one possibility the 'Possible Matches' dialog displays, listing the occurrences of the structure from which you can select the required one. |
|
Search in Files |
Click on this icon to search for the selected object name in associated files, and display the results of the search in the File Search window. You can refine and refresh the search by specifying criteria on the Find in Files window toolbar. |
Search in Files |
Search in Model |
Click on this icon to search for the selected text throughout the model, and display the results of the search in the Find in Project view. |
Model Search |
Go to Declaration |
Click on this icon to locate the declaration of a symbol in the source code. |
|
Go to Definition |
Click on this icon to locate 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 files). |
|
Autocomplete List |
Click on this icon to display the autocompletion list of possible values; double-click on a value to select it. |
|
Parameter Information |
When the cursor is between the parentheses of an operation's parameter list, click on this icon to display the operation's signature, highlighting the current parameter. |
|
Find Current Class in Project Browser |
Click on this icon to display the name of the currently-selected Class in the code, and highlight that name in the Project Browser; if there is more than one possibility the 'Possible Matches' dialog displays, listing the occurrences of the Class from which you can select the required one. |
|
Find Member |
Click on this icon to display the name of the currently-selected attribute or method in the code, and highlight that name in the Project Browser; if there is more than one possibility the 'Possible Matches' dialog displays, listing the occurrences of the feature from which you can select the required one. |
Notes
Learn more