Mistake on this page? Email us


Mbed Studio can search for the content of files, quickly find a specific file, or find and execute and command.

Searching for file content

To search for a term across all of the files in an active program, click the Search icon or press Ctrl+Shift+F (Windows) or Cmd+Shift+F (macOS) to open the search pane, and enter text in the search box.

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

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.

Tip: If the search pane is hiding the file explorer, you can click the Studio icon or press Ctrl+Shift+E (Windows) or Cmd+Shift+E (macOS) to return to it.

To specify which files to include or exclude in your search:

  1. Click the ellipsis (Toggle Search Details).

  2. 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.

Including or excluding patterns

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

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.

Find 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.

Find and navigate to a file

Press Ctrl+P (Windows) or Cmd+P (macOS) to quickly search for and open a file by name.

Recently opened files appear automatically first, then file results based on the string you enter in the search bar.

Find and execute a command

To quickly search for and execute any command in Mbed Studio, select Find Command from the View menu or press Ctrl+Shift+P (Windows) or Cmd+Shift+p (macOS).

Recently used commands appear when you open the quick command search. Search results appear when you begin to enter a string in the search bar.

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.