简体   繁体   English

如何在Sublime Text 3中搜索特定文件类型的多个文件

[英]How to search multiple files of specific file type within Sublime Text 3

I would like to search for a string within all *.php files in a certain directory (and its sub-directories) using the Shift + Ctrl + F search dialog. 我想使用Shift + Ctrl + F搜索对话框在某个目录(及其子目录)中的所有* .php文件中搜索字符串。

My guess was to set the search location to: 我的猜测是将搜索位置设置为:

c:\example\*.php

but that gives an error: 但这给出了一个错误:

Unable to open c:\example\*.php

Is there a way to perform the search I'm hoping to perform? 有没有办法执行我希望执行的搜索?

C:\\example,*.php

Where:单击... ,选择Add Folder ,然后选择Add Include Filter

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM