How to search in Eclipse through project for some word ? When I start CTRL-h I need to choose field, method or ...., but I need to find all occurences in project no metter metho
CTRL + H -> File Search -> Containing Text 'some word'
make sure the scope is set to workspace or enclosing projects. Choosing Selected Resources will narrow the result set to the folder or file you selected in the explorer.
Further if you know the file type that might contain the text you can use the File Name patterns
with values like *.php, *.phtml, *.html
In order to accomplish it you need to customize your research:
Ctrl + H
then at the bottom of the search window click on Customize
check only FileSearch
and unselect the rest of the options
then you can search for anywork in the project by selecting either worksapce
or Enclosing project
If you are using InstaSearch Eclipse plugin you can easily filter searches by project:
proj:MyProjectName textToFind
or use ui to select a project to search in.
Ctrl + Alt + G might help finding Text in the new Version of Eclipse 3.7.