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

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

    Press Ctrl + Shift + F

    click on 3 dots under search box.

    type your query in search box

    type ./FOLDERNAME in files to include box and click Enter

    Alternative way to this is, Right click on folder and select Find in Folder

提交回复
热议问题