开发者

Search for all files in project containing the text 'querystring' in Eclipse

I work in Dreamweaver and Eclipse when developing. I think Dreamweaver has a really nice search where you can search f开发者_如何学JAVAor 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

Search for all files in project containing the text 'querystring' in Eclipse


(source: avajava.com)


press Ctrl + H . Then choose "File Search" tab.

additional search options

search for resources: Ctrl + Shift + R

search for Java types: Ctrl + Shift + T


Ctrl+shift+L opens the Quick text search window


Just noticed that quick search has been included into eclipse 4.13 as a built-in function by typing Ctrl+Alt+Shift+L (or Cmd+Alt+Shift+L on Mac)

https://www.eclipse.org/eclipse/news/4.13/platform.php#quick-text-search

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜