Skip to main content

Content Editor in the Modeling Workbench

The Content Editor is available as a tab in the details pane for the following items:

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.

WB_editor_navigation

Searching in the Content Editor

To search the content of the file in the Content Editor

  1. Click somewhere in the Content Editor.
  2. Press Ctrl + F. The search bar opens.

    WB_search_bar

  3. Type your search term in the Find field.
  4. The following search options are available to refine your search:
    • WB_icon_match_case : Match the case. If you select this option, only search results that match the casing of your search term will be displayed.
    • WB_icon_match_word : Match the whole word. If you select this option, only words that match the entire search term are displayed.
    • WB_icon_regex : 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 WB_icon_select_part to only show results within that selection.
  • If you have entered a search term, press Enter, F3 or WB_icon_forward to cycle through the search results.
  • Click WB_icon_backward or press Shift + F3 to return to the previous search result.

Replacing in the Content Editor

To search and replace

  1. Click somewhere in the Content Editor.
  2. Press Ctrl + F. The search bar opens.
  3. Click WB_expand_replace next to the search field. The search bar extends vertically and the replacing options are presented:
    WB_search_and_replace
  4. Type your search term in the Find field. The search results are automatically highlighted in the file.
  5. Type your replacement term in the Replace field.
  6. If you only want to replace one occurrence, select it and click WB_icon_replace_one. If you want to replace all occurrences, click WB_icon_replace_all.

Was this article helpful?

We're sorry to hear that.