Search in all files in a project in Sublime Text 3

前端 未结 5 1216
庸人自扰
庸人自扰 2020-12-04 04:42

Is there a way to search for a string in all files inside a project in Sublime Text 3? The string is not a method.

5条回答
  •  一生所求
    2020-12-04 05:23

    Solution:

    Use the Search all shortcut: Ctrl+Shift+F, then select the folder in the "Where:" box below. (And for Mac, it's +Shift+F).

    If the root directory for the project is proj, with subdirectories src and aux and you want to search in all subfolders, use the proj folder. To restrict the search to only the src folder, use proj/src in the "Where: " box.

提交回复
热议问题