Content Editor in the Modeling Workbench
The Content Editor is available as a tab in the details pane for the following items:
- Object type (extensions) and base config
- Modules (the Overview tab)
- Transformations for modules
In the Content Editor, you can add or edit the underlying ini
files of these items directly. The Content Editor displays files with ini
markup. Syntax highlighting is supported to make it easier to see the structure of the file. The line numbers of the file are displayed at the beginning of each line.
The Content Editor supports standard editor features like searching, find and replace, and quick navigation. Additional functions are available in the Command Palette. You can access the Command Palette by pressing F1 or by right-clicking in the Content Editor and selecting it in the context menu.
Navigating the Content Editor
For quick navigation in the Content Editor, a thumbnail of the ini
file structure is displayed at the top corner of the editor. If the file is too long to be displayed on the screen in its entirety, you can click this thumbnail to quickly jump to another section of the file. Alternatively, you can use the scroll bar to navigate the file.
Searching in the Content Editor
To search the content of the file in the Content Editor
- Click somewhere in the Content Editor.
- Press Ctrl + F. The search bar opens.
- Type your search term in the Find field.
-
The following search options are available to refine your search:
- : Match the case. If you select this option, only search results that match the casing of your search term will be displayed.
- : Match the whole word. If you select this option, only words that match the entire search term are displayed.
- : Use regular expression. Instead of a normal search, you can enter a regular expression to refine your search results.
These options can be turned on simultaneously.
Tip:
- If you select part of the file before opening the search bar, you can click to only show results within that selection.
- If you have entered a search term, press Enter, F3 or to cycle through the search results.
- Click or press Shift + F3 to return to the previous search result.
Replacing in the Content Editor
To search and replace
- Click somewhere in the Content Editor.
- Press Ctrl + F. The search bar opens.
- Click next to the search field. The search bar extends vertically and the replacing options are presented:
- Type your search term in the Find field. The search results are automatically highlighted in the file.
- Type your replacement term in the Replace field.
- If you only want to replace one occurrence, select it and click . If you want to replace all occurrences, click .