Mistake on this page? Email us

Performing a search

To search for a term across all of the files in an active program, click the Search icon or press Ctrl+Shift+F to open the search pane, and enter text in the search box. The lower part of the pane displays the search results, sorted under the files in which they appear.

The number of instances of the searched text in each file is indicated beside the file name.

Click the Collapse All icon to view only the list of files in which the text you searched for appears.

To search inside a single folder, right-click the folder, and select Find in Folder.

Including or excluding files, folders and path segments in your search

Click the ellipsis (Toggle Search Details) to specify which files to include or exclude in your search.

In the files to include and files to exclude search boxes, enter file names, separated by commas, to include or exclude in your search. For example, if you enter resources, sources in the files to exclude search box, the search excludes all files and folders named resources or sources.

You can include or exclude patterns in files, folders and path segments using glob syntax (wildcards).

Wildcard Description
* Matches zero or more characters. For example, *.html matches all HTML files.
** Matches zero or more path segments. For example, tools** matches tools/python and tools/python/Scripts.
? Matches any a single character. For example, 3.? matches 3.4.
[] Matches one character in the bracket. For example, 3.[0-9] matches 3.1, 3.2, and so on.
{} Matches any of the conditions in the bracket. For example,{*.html,*.json} matches all HTML and JSON files.

You can also search using regular expressions.

Search and replace

To replace the searched-for text with new text, click Toggle Replace, and enter your new text.

Click Replace All to replace all instances of the text in all files.

To replace all instances of the text in a specific file, hover the cursor over the file name in the search results, and click the Replace All button that appears.

Preview pending changes.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.