views:

22

answers:

2

There is a shortcut in IntelliJ I'm looking equivalent in Eclipse, it is called 'Go to symbol'. CTRL-ALT-SHIFT-N lets you start typing and glob up classes, method names, variable names, etc, from the entire project.

Does someone know if there is such thing in eclipse?

A: 

Eclipse allows you to search the project. That's probably the closest to what you're looking for.

Gilbert Le Blanc
+1  A: 

General


For type names, you can use control-shift-t (open type) and enter partial names with globs or by upper letters in the camel-case name (like DTM for DefaultTableModel).

For resources (non java files like xml, properties, etc), you can use control-shift-r

For method and variable names, you'd need to use the Java Search function (the flashlight icon on the toolbar).

In the Java editor


If you're looking for references to a symbol in the editor, click on it and press control-shift-g.

If you're looking for the definition of a symbol in the editor, control-click or click on it and press F3.

If you want to find implementations of a symbol (like an interface or method that may be overridden) in the editor, press control-t on it

Scott Stanchfield