Search

To open the Search dialog, select Search > Search. To find or replace text in the Editor view, use the Find and Replace action instead.

"The Search dialog"

In the File Search tab, enter the text to search for in the Containing text combobox. It keeps a record of texts entered during this session, so you can pick a previous search text.

By default, the search uses simple glob-style wildcards. To use full regular expressions and control case sensitivity, select the appropriate checkboxes.

Use the File name patterns combobox to restrict the names of the files that are searched from. For example, if your scripting language is Python, set the pattern to be *.py to only search from Python files.

The dialog has some other more advanced settings, and can even be used to replace the matching text across files, but these features are not covered here.

Click the Search button to perform the search and to show the results in the Search view, which appears in the current perspective. It displays a tree view of the files searched and the line numbers within them where the search text matched.

The other tabs in this view are all scripting-language-specific. They allow you to search for text in all the files containing source code in the tab's scripting language (e.g., all the JavaScript files or all Python files), and where the search text matches the name of a type (class), method (or function), or field (attribute).

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.