如何在 Sublime Text 3 中搜索特定文件类型的多个文件 [英] How to search multiple files of specific file type within Sublime Text 3

查看:74
本文介绍了如何在 Sublime Text 3 中搜索特定文件类型的多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 Shift + Ctrl + F 搜索对话框在某个目录(及其子目录)中的所有 *.php 文件中搜索字符串.

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.

我的猜测是将搜索位置设置为:

My guess was to set the search location to:

c:\example\*.php

但这会产生错误:

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

In the Where: click ..., select Add Folder, after that select Add Include Filter

这篇关于如何在 Sublime Text 3 中搜索特定文件类型的多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆