|
|
|
|
|
- Overview
- How to?
- Performing a search in the current project
- Performing a "Find/Replace" in the current project
- Notes
- Type of search
- Search criteria
- Marking the result of a search
Find/Replace in the current project
Warning
From version 18, the search in a project or in several projects has evolved. For more details, see Search in the editors.
The "Find/Replace" feature is used to: - Find a specified expression in the entire current project.
- Replace the expressions found in the curernt project by another expression.
Remark: a search can also be performed on several projects. For more details, see Multi-project search. Performing a search in the current project To perform a search in the current project: - Display the "Find - Replace" pane.
- In the "Find" list, enter the expression to find.
- Specify the elements in which the search must be performed ("In" list). You have the ability to perform a default search or an advanced search.
- Specify the search criteria ("Contains", "Starts with", "Case sensitive", ...).
- Click the icon to start the search. If elements are found, the reference of these elements is displayed in the "Find - Replace" pane. To directly access one of the elements found, double-click the element reference.
Remark: The search does not take into account the characteristics of the analysis or the characteristics of the UML model associated with the project. Performing a "Find/Replace" in the current project To perform a "Find/Replace" in the current project: - Display the "Find - Replace" pane.
- In the "Find" list, enter the expression to find.
- Enter the expression to replace in the "Replace" list.
- Specify the elements in which the search must be performed ("In" list). You have the ability to perform a default search or an advanced search.
- Specify the search criteria ("Contains", "Starts with", "Case sensitive", ...).
- Several icons are used to:
- Replace the selected expression.
- Replace the last expression found or the selected expression and find the next expression.
- Replace the last expression found or the selected expression and find the previous expression.
- Replace all the expressions found.
Remark: The search does not take into account the characteristics of the analysis or the characteristics of the UML model associated with the project. Type of search Several types of search are available: - Default search: The default search can be performed either in the source code of the active element, or in the entire active element (source code, code messages, controls, items, dependencies and multilingual options), or in the entire project. The options of the default search are selected in the "Find - Replace" pane.
- Advanced search: The advanced search enables you to specify the project elements in which the search must be performed, as well as the scope of the search (the options of the element in which the search must be performed). To perform an advanced search, select <Advanced...> in the "In" option of the "Find - Replace" pane.
Search criteria Regardless of the type of search performed, you can specify a combination of the following search criteria: - Contains: the searched expression must contain the specified expression.
- Starts with: the searched expression starts with the specified expression.
- Whole word: the searched expression corresponds exactly to the specified expression.
- Case sensitive: the search takes the uppercase and lowercase characters into account.
- Respect the accented characters: the search takes the accented characters into account.
- Ignore comments: the search ignores the comments (code comments starting with //).
Marking the result of a search You have the ability to mark the result of a search: all the elements found in the code will correspond to a positioning mark. To set a mark on a search result, simply click the icon before starting the search.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|