在Eclipse中搜索包含文本“querystring”的项目中的所有文件 [英] Search for all files in project containing the text 'querystring' in Eclipse

查看:309
本文介绍了在Eclipse中搜索包含文本“querystring”的项目中的所有文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在开发过程中,我在Dreamweaver和Eclipse中工作。我认为Dreamweaver有一个非常好的搜索,您可以在当前项目的所有文件中搜索文本。



当您要删除在大量文件中调用的函数时,这很方便。您可以在当前的本地项目中进行搜索。您可以选择是否在文本或源代码中进行搜索。



Eclipse是否具有这样的功能,可以在其中查找所有具有querystring的文件? / p>

解决方案

是的,你可以很容易地做到这一点。单击项目浏览器或导航器中的项目,转到顶部的搜索菜单,单击文件...,输入搜索字符串,并确保选择了所选资源或封闭项目,然后搜索。打开窗口的另一种方法是使用Ctrl-H。更多细节: http://www.ehow.com/how_4742705_file-eclipse.html http://www.avajava.com/tutorials/lessons/how-do-i-do-a -find-and-replace-in-multiple-files-in-eclipse.html



alt text http://www.avajava.com/tutorials/eclipse/how-do-i-do-a-find-and-replace- in-multi-file-in-eclipse / how-do-i-do-a-find-and-replace-in-multiple-files-in-eclipse-02.gif


I work in Dreamweaver and Eclipse when developing. I think Dreamweaver has a really nice search where you can search for text within all files of your current project.

This is handy when you want to remove a function that is called in a lot of files. You can just search within the current local project. You can choose whether to search within text or in the source code.

Does Eclipse have such a feature to find all files that have the word 'querystring' in them?

解决方案

Yes, you can do this quite easily. Click on your project in the project explorer or Navigator, go to the Search menu at the top, click File..., input your search string, and make sure that 'Selected Resources' or 'Enclosing Projects' is selected, then hit search. The alternative way to open the window is with Ctrl-H. This may depend on your keyboard accelerator configuration.

More details: http://www.ehow.com/how_4742705_file-eclipse.html and http://www.avajava.com/tutorials/lessons/how-do-i-do-a-find-and-replace-in-multiple-files-in-eclipse.html

alt text http://www.avajava.com/tutorials/eclipse/how-do-i-do-a-find-and-replace-in-multiple-files-in-eclipse/how-do-i-do-a-find-and-replace-in-multiple-files-in-eclipse-02.gif

这篇关于在Eclipse中搜索包含文本“querystring”的项目中的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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