VS Code: Search multiple directories

Viewed 10618

When searching, VS Code has the ability to list files to include to scope the search. This is used by default when using the "find in folder" feature. For example, searching src results in ./src as the files to include.

Is there a syntax I can use to list multiple directories here? For example, I want to search ./src and ./lib in one search.

2 Answers

Did you try a comma like ./dir1, ./dir2? For me it seems to work

Filter with comma

Related