Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse IDE search a function with given name

Tags:

java

eclipse

How to search a partifular function in a particular project in Eclipse e.g. if I want to search a function with name xyz how do I do it?

like image 978
akp Avatar asked Sep 10 '10 07:09

akp


1 Answers

Use "Java Search" in the search menu or move the caret on the function name in the source and press Ctrl+Shift+G (-> search for reference in Workspace).

[EDIT] If you don't know in which class the function is, then use the text search (which is called "File search"). Enter the name in the search field and then limit the search to "*.java" files.

like image 92
Aaron Digulla Avatar answered Oct 19 '22 18:10

Aaron Digulla