Command 'Find', 'Find in Project'Permalink

Symbol _cds_icon_find; keyboard shortcut: [Ctrl]+[F]

Symbol _cds_icon_find_in_project, keyboard shortcut [Ctrl]+[Shift]+[F]

Function: These commands scan the project or parts of it for a specified character string.

Call: Menu bar: “Edit  Find Replace”

This command opens the “Find” dialog where the searched character string is specified and the search options are defined.

Dialog 'Find'

“Search for”

Character string to be searched.

“Match case”:

_cds_icon_option_activated: The search considers uppercase and lowercase.

“Match whole word”:

_cds_icon_option_activated: Only character strings are found that exact matches.

“Search up”:

_cds_icon_option_activated: The specified search range runs upwards.

_cds_icon_option_deactivated: The specified search range runs downwards.

“Use regular expressions”:

Use the arrow_button.png button to receive support when specifying regular expressions.

“Search in”

selectionlist_button.png: Drop-down list with the areas of the project to be searched:

  • “Active editor”

  • “All open editors”

  • “Selected objects & Subobjects”

  • “Entire project”

  • “Entire project & Uncompiled libraries”

  • “Selection only”

button_threedots.png: Opens a dialog where you set the areas of the project to be searched (see below)

“Find next”

Start the search

“Find all”

All search results are listed in the message view with their object path, project name, object name, and object position. Possible additional information for position: “(Decl)” = Declaration part of the object; “(Impl)” = Implementation part of the object

Double-clicking the entry in the list opens the match position in the respective object editor.

“Replace”

Switches to the “Replace” dialog

The color of the search result markings can be customized in the options of the text editor. This is done by means of the parameter “Selection color” - “Inactive” in the “Text Area” tab.

See also

Dialog for setting the objects to be searched

“Entire project”

All editable positions in all objects of the project are searched.

“Entire project and all uncompiled libraries”

All editable positions in all objects of the project, including integrated uncompiled libraries, are searched.

“Within the following objects”

Only the editable positions within the objects defined here are searched:

  • “Scheme”: The “Save” command saves the current search configuration by the specified name. All saved schemes are available in the drop-down list (selectionlist_button.png).

  • “Object types”: _cds_icon_option_activated: The object is searched.

  • “Name filter”: Name filter for the searched objects. The placeholder "*" can be used.

    Example: Filter "*CAN*": All objects are searched that have "CAN" in the name.

“All open editors”

All editors are searched that are currently open in a window.

“Active editor”

Only the editor is searched where the cursor currently is.

“Selection only”

Only the text is searched that is currently selected in an object.