Skip to content

Find all occurrences of a function in Eclipse

In Eclipse, how can I find all usages of a function in a Java app? What is the shortcut for that?

I tried with Ctrl+H to search by method, but it return me all methods with the same name.


You can find a menu entry in the context menu, when right clicking on the function. You can also press Ctrl+G when the cursor is above the function or member. Not every project and file type supports this feature. For example, EPIC Perl only supports finding the definition of a function.