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

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

    1. Enter Search Keyword in search (CTRL + SHIFT + F)

    2. Exclude unwanted folder's/files by using exclude option (!)

      ex: !Folder/File*

    3. Hit Enter

    Search results gives you desired result

提交回复
热议问题