Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good "find all" function in Eclipse?

I have been using Eclipse for R and C++. So far I have not been able to find a reliable "find all" function. It seems to be an easy concept, I search for a string such as "rows" and the function should return all occurences of it within the that I currently have open. (Even if it's in all files in my owrkspace, that's fine too.)

However, I have either not understood how to use the "search" functions correctly or they are very buggy.

So my question is how do I search for all occurences of a string in a file in Eclpise?

Adobe Dreamweaver, for example, has been able to do this for years.(Although it's completely unrelated to R and C++)

I would like to view a list of all occurences and then be able to click on a specific occurence to go to it.

like image 450
power Avatar asked Nov 11 '11 03:11

power


2 Answers

After opening Eclipse, (corresponding to a workspace), Press "CTRL + H" anywhere and you can search anything

  • like java files that contain specific "keywords".
  • all occurences within a java file.
  • plugins names etc
like image 87
Ramandeep Singh Avatar answered Oct 07 '22 01:10

Ramandeep Singh


Just type "rows" or whatever the search term is somewhere in text, select it (so that it becomes highlighted) then press "Alt+Ctrl+g". This will perform a global search for that term, pretty handy.

like image 20
dashesy Avatar answered Oct 07 '22 01:10

dashesy