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

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

    This action is not bound to a key by default, to bind it do this:

    1. File > Preferences > Keyboard Shortcuts (Ctrl+K, Ctrl+S)
    2. Search for "find folder"
    3. Press the + icon on the left of "filesExplorer.findInFolder" search result
    4. Enter your desired key combination

提交回复
热议问题