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

后端 未结 15 1104
深忆病人
深忆病人 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:19

    To add to the above, if you want to search within the selected folder, right click on the folder and click "Find in Folder" or default key binding:

    Alt+Shift+F

    As already mentioned, to search all folders in your project, click Edit > "Find in Files" or:

    Ctrl+Shift+F

提交回复
热议问题