VS Code - Search for text in all files in a directory

后端 未结 15 1078
深忆病人
深忆病人 2020-12-12 09:32

Is there a way to search for text in all files in a directory using VS Code?

I.e., if I type \"find this\" in my search, it will search through all the files in the

15条回答
  •  失恋的感觉
    2020-12-12 10:14

    In VS Code...

    1. Go to Explorer (Ctrl + Shift + E)
    2. Right click on your favorite folder
    3. Select "Find in folder"

    The search query will be prefilled with the path under "files to include".

提交回复
热议问题