Search Features
Desktop Studio lets you:
-
Find a string in the current code editor,
-
Quick find a string in the current code editor,
-
Find a string in any file in any project file,
-
Find and replace a string in any project file.
Find
To find a string inside the scope of the current code editor:
-
Select the desired string in the code editor, right-click the selection and select from the context menu (or press Ctrl + F )
-
The following Find dialog is displayed:
You can:
-
Edit the search string with the Find what field (1) (or select one from the Find what history),
-
Change the scope of the search via the Look in combo box (2):
-
Current Document – search in the whole document
-
Selection – limits the search to the current selection (if not empty)
-
-
Change the find option using the Options checkboxes (3):
-
Match whole word only lets you search for whole words rather than partial words
-
Match case lets you perform a case-sensitive search
-
Regular expression interprets the searched string as a regular expression rather than a literal string
-
Search up lets you perform the search backwards rather than forwards
-
Find the Next Occurrence
To find the next occurrence of the search string, click the Find Next button:
-
The code editor automatically scrolls and selects the next occurrence found
-
When the end of the document is reached, the search continues from the beginning of the document
-
If no other occurrence is found, the Find Next button is disabled
Find All Occurrences
To search for all occurrences:
-
Click the Find All button
-
The Find dialog closes and the search results are displayed in the Find Results tool window.
Quick Find
Quick find lets you search in the current code editor without opening the Find dialog:
-
Select the desired string in the code editor, right-click on the selection and select from the context menu (or press Ctrl + F3 )
-
The code editor automatically scrolls and selects the next occurrence found.
Find the Next Occurrence
-
Press F3 to find the next occurrence
-
When the end of the document is reached, the search continues from the beginning of the document
Find the Previous Occurrence
-
Press Shift + F3 to find the previous occurrence
-
When the start of the document is reached, the search continues from the end of the document
Find in Files
To find a string outside the scope of the current code editor:
-
Select the desired string in the code editor, right-click the selection and select from the context menu (or press Ctrl + Shift + F )
-
The following Find dialog is displayed:
You can:
-
Edit the search string in the Find what field (1) (or select one from the Find what history),
-
Change the scope of the search in the Look in combo box (2):
-
Whole Solution extends the search to all project files
-
All Open Documents extends the search to all documents (script files and XML blocks) opened in the Editor perspective,
-
Current Document limits the search to the current code editor.
-
-
Change the find options with the checkboxes (3):
-
Match whole word only lets you search for whole words rather than partial words
-
Match case lets you perform a case-sensitive search
-
Regular expression interprets the searched string as a regular expression rather than a literal string
-
Search in SDK files lets you include SDK files in your search.
-
Find All Occurrences
You can choose to search for all occurrences of the search string:
-
Click the Find All button
-
The Find dialog is closed and the results of the search are displayed in the Find Results tool window
To find and replace a string outside the current code editor:
-
Select the desired string in the code editor, right-click the selection and select from the context menu (or press Ctrl + H )
-
The following Find dialog is displayed:
You can:
-
Edit the search string in the Find what field (1) (or select one from the Find what history)
-
Edit the replacement string in the Replace with field (2) (or select one from the Replace with history)
-
Change the scope of the search using the Look in combo box (3):
-
Whole Solution extends the search to all project files
-
All Open Documents extends the search to all documents (script files and XML blocks) opened in the Editor perspective
-
Current Document limits the search to the current code editor
-
Selection limits the search to the current selection (if not empty)
-
-
Change the find options using the checkboxes (4):
-
Match whole word only lets you search for whole words rather than partial words
-
Match case lets you perform a case-sensitive search
-
Regular expression interprets the searched string as a regular expression rather than a literal string
-
Search in SDK files lets you include SDK files in your search
-
Find All Occurrences
To find the next occurrence of the search string, click the Find Next button:
-
The code editor automatically scrolls and selects the next occurrence found
-
When the end of the document is reached, the search continues from the beginning of the document
-
If no other occurrence is found, the Find Next button is disabled
Replace the Selected Occurrence
To replace the selected occurrence of the search string, click the Replace button:
-
The code editor replaces the selected occurrence and automatically searches for the next occurrence
-
When the end of the document is reached, the search continues from the beginning of the document
-
If no other occurrence is found, the Find Next button is disabled
Replace All Occurrences
To replace all occurrences of the search string:
Click the Replace All button.
Find Results Tool Window
The Find Results tool window in the Editor perspective displays the results history of the various Find All operations.
It consists of:
-
A result selector (1)
-
The current results set (2)
The result selector (1) displays a Results tab for each results set. Each Results tab shows the search text of its results set.
Using the Result Selector
The current results set can be changed by selecting the corresponding Results tab.
The Results tab menu suggests the following operations:
|
Close |
Close the corresponding results set |
|
Refresh |
Restart the corresponding Find All search without changing the search options, and update the results set |
|
Edit |
Edit the corresponding Find All search options |
|
Close All But This |
Close the results history apart from the this results set |
|
Close All |
Clear the results history |
Using a Results Set
A results set displays all the occurrences found by the corresponding Find All operation. These occurrences are grouped by document (script file or XML block).
You can navigate to the position of an occurrence by double-clicking that occurrence.

