You can quickly search across all files in the currently opened folder using the keyboard shortcut:
- Windows/Linux:
Ctrl+Shift+F
- macOS:
Cmd+Shift+F
This will bring up the Search panel where you can enter a search term. The results will be grouped by files containing the term. You can expand each file to preview the matches.
Table of Contents
Find in Folder Context Menu
An option added in VS Code 1.73 is “Find in Folder” in the context menu when you right-click a folder in the explorer. This will open the search panel scoped to that folder.
Quick Open
You can filter the file list with Ctrl+P
(Windows/Linux) or Cmd+P
(macOS). Start typing a file name and the list will filter. You can open files from here.
Solution Explorer (C#)
If working on C# projects, the C# extension provides a Solution Explorer view to see all files grouped logically in projects and solutions.
File Explorer Extensions
Extensions like File Nesting and Fileutils provide enhanced file management abilities like grouping arbitrary files into trees.
So in summary, use Search Across Files for text search, Quick Open for filtering by name, Solution Explorer for .NET projects, and extensions for custom file trees.