DEV Community

Cover image for VS Code Tip of the Week: Tree Find Control
Nick Taylor Subscriber for VS Code Tips

Posted on • Originally published at community.vscodetips.com

VS Code Tip of the Week: Tree Find Control

This week's VS Code tip is the Tree find control. Search for files within the tree explorer and have them filter right in the tree view!

Bring focus to your tree explorer in VS Code via keyboard or mouse. From there, press CTRL + F (CMD + F on macOS) to make the find control appear.

Tree find control in VS Code

In the find control, enter what you're looking for. In my case, I'm looking for files with svelte in them.

Tree find control in VS Code with the word svelte entered

Press the filter button or use the keyboard to filter, and voilà!

Tree find control in VS Code with the word svelte entered displaying filtered files in the tree view

And that's it! Happy VS Coding!

Top comments (3)

Collapse
 
andrianv profile image
Andrian Vangelov • Edited

The default shortcut on Mac seems to be changed for new VS Code updates after 1.82, being ⌥⌘F instead of ⌘F.

Collapse
 
egor4ik325 profile image
Egor Zorin • Edited

Thank you! I thought that they have rollbacked this feature)

Collapse
 
ahmedbhs profile image
Ahmed EBEN HASSINE 脳の流れ

you should press F3