简体   繁体   English

如何在大量.js和.php文件中搜索特定短语?

[英]how can i search a lots of .js and .php files for a specific phrase?

Windows has a go at it but only gets a few when i seach a directory. Windows可以解决这个问题,但是只有在我查找目录时才能使用。

Is there an IDE or similar that allows for searching within the files of an entire directory? 是否有IDE或类似的东西可以在整个目录的文件中进行搜索?

for example, if I need to make sure no files require to a redundant class (old_class.php) I'd like to search for 'old_class.php' 例如,如果我需要确保没有文件需要冗余类(old_class.php),我想搜索“ old_class.php”

or alternatively if anyone knows a way to do this in Aptana (my text editor of choice) that would be amazing... 或者,如果有人知道在Aptana(我选择的文本编辑器)中执行此操作的方法,那将是惊人的...

Notepad++ can search through multiple files. Notepad ++可以搜索多个文件。

http://notepad-plus-plus.org/ http://notepad-plus-plus.org/

Edit: Oh and it's free! 编辑:哦,它是免费的!

使用Aptana即可轻松实现: 文档:如何使用Aptana进行搜索

Try Windows GREP . 试试Windows GREP
It works like a charm for me. 对我来说,它就像是一种魅力。

Yes, Dreamweaver has amazing search capabilities for searching within folders. 是的,Dreamweaver具有惊人的搜索功能,可以在文件夹中进行搜索。 Very useful and used all the time. 非常有用并且一直使用。 Obviously, it's not free. 显然,它不是免费的。 Would be happy to learn a way in Aptana 很高兴在Aptana学习一种方法

没有比ack更好的了(比grep更好)

尝试Windows Grep ...

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

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