Home > Mobile >  is there a way to filter files by name in vs code?
is there a way to filter files by name in vs code?

Time:03-02

Is there a way to filter files by name in VS Code? The search icon in the left nav pane provides the ability to do a global text search within the directory context but I haven't seen a way offhand to search for specific files. For example, let's say I want to search for "Chart.component.tsx" or find all test files in the project by searching for ".test.tsx". Is there any way to go about doing this in VS Code?

CodePudding user response:

Type ctrl-P then start typing the file name. VSCode will search the directories for you.

  • Related