Reputation: 5957
I was using Netbeans and find the search is fairly simple, just right click and click on Find. It searched for file name as well as contents.
Just moved to Eclipse Mars2, there is no find on right click of project.
There is Search on menu (CTRL+H) and when i clicked
In eclipse, I have multiple projects and i tried to search text in single java project but it keep on searching on multiple projects even if my project is selected.
Could anyone provide me direction for easy search in eclipse?
Upvotes: 0
Views: 665
Reputation: 3682
select the project you want and do ctrl+H (or Search->Search), select second tab(File search). Make sure "Selected resources" is selected. This searches for the containing text in all files matching the provided file name patterns in the selected project.
Upvotes: 1