VS Code Tip of the Week: Find in Folder

VS Code Tip of the Week: Find in Folder

Nick Taylor's photo
Nick Taylor
·May 30, 2022·

1 min read

Play this article

This week's tip of the week is care of Justin Noel. Justin is in my Virtual Coffee community. Yesterday, during a Lunch & Learn we had, he mentioned that you can search in only a specific folder in VS Code. I was completely unaware of this.

The flow with your mouse is to right-click on the folder and select Find in Folder...

Context menu open on a folder with the option Find in Folder... highlighted

You can also have focus on a folder in the sidebar and then do (Option) + Shift + F for macOS or Alt + Shift + F for any other operating system supported by VS Code.

Both will bring you to the search panel but notice that now it only includes any files in the given folder.

Search panel in VS Code with the current folder files as the files to include in the search

Great tip Justin, and Happy VS Coding!

 
Share this