Find in Files in VS Code (Windows)
Press Ctrl + Shift + F to search for text in all files of the workspace.
What it does
Find in Files opens the Search view in the side bar with the cursor in the search field. The results are grouped by file, and a click on a result opens the file at that line. The options beside the field match the case, whole words or a regular expression, and two more fields limit the search to files to include or to leave out.
The same shortcut on other platforms
| Platform | Shortcut |
|---|---|
| Windowsthis page | Ctrl + Shift + F |
| macOS | Our macOS list of VS Code has no such shortcut. |
| Linux |
More VS Code shortcuts: Search & Replace
- Replace in Files
- Find
- Find and Replace
All 35 VS Code shortcuts for WindowsThe full list has a search and a printable PDF.
Questions
What is the VS Code shortcut for Find in Files on Windows?
Ctrl+Shift+F. Press it to search for text in all files of the workspace.
What is the shortcut for Find in Files in VS Code on Linux?
On Linux it is Ctrl+Shift+F.