Search Wizard
A wizard for searching
Last updated
A wizard for searching
Last updated
The Search Wizard is a powerful tool for locating text across files in the workspace, specific resources, or entire projects. It supports various search parameters and options to refine the search results, making it an essential tool for navigating and managing large codebases.
Different tabs for various types of searches:
File Search: Searches for text within files.
Git Search: Searches within Git repositories.
Java Search: Searches specifically within Java code.
JavaScript Search: Searches specifically within JavaScript code.
Input field where you can type the text or pattern you are looking for. Supports case-sensitive searches, regular expressions, and whole word matching.
Specify file name patterns to limit the search to certain files. Patterns should be separated by commas.
Options to include derived resources and binary files in the search.
Define the scope of the search:
Workspace: Search across the entire workspace.
Selected resources: Search within selected resources.
Enclosing projects: Search within enclosing projects.
Files opened in editors: Search within files currently opened in editors.
Working set: Search within a specific working set.
Here are the available buttons:
Customize: Opens the customization dialog to select which search tabs to display.
Replace: Opens the replace dialog to replace occurrences of the search pattern with a specified replacement.
Search: Starts the search based on the specified parameters.
Cancel: Closes the search dialog without performing a search.
Here are the steps for using Search:
Open the Search Dialog: Access it from the Servoy Developer Search menu or through a keyboard shortcut (Ctrl+H
).
Enter Search Parameters:
Type the text or pattern you are looking for in the "Containing text" field.
Specify file name patterns to limit the search scope.
Choose to include derived resources and binary files if needed.
Define the Scope:
Select the appropriate scope for the search: Workspace, Selected resources, Enclosing projects, Files opened in editors, or Working set.
Use Search Tabs:
Select the appropriate tab for the type of search: File Search, Git Search, Java Search, or JavaScript Search.
Customize Search Tabs, if needed:
Click the Customize button to open the Search Page Selection dialog and choose which tabs to display.
Perform the Search:
Click the Search
button to start the search. The results will be displayed in the Search view.
Here are the steps for using Replace:
Open the Replace Dialog: After performing a search, click the Replace
button to open the Replace Text Matches dialog.
Enter Replace Parameters:
Type the text to replace in the "Replace" field.
Type the replacement text in the "With" field.
Optionally, use regular expressions for the replacement.
Preview Changes:
Click the Preview
button to see the changes before applying them.
Apply Changes:
Click OK
to apply the changes or Cancel
to close the dialog without making any changes.