Search code examples
eclipsehotkeys

"Open Type" command does not respond in Eclipse workspace


In Eclipse, you can use Ctrl + Shift + T to search for a type. Unfortunately, Eclipse does not respond to this hotkey in one of my workspaces.

I am running IBM AST 6.1, which is built on Eclipse 3.2.1 (see http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tins_ast_roadmap.html).

When I go to Window -> Preferences -> General -> Keys, it shows the Open Type command is set to the Key Sequence Ctrl+Shift+T "When" "In Windows". Is this correct?

I can use Ctrl+Shift+R to search for a resource in this same Workspace, using the same Ctrl and Shift keys (i.e. the keys are working). I can also use Ctrl+Shift+T on other workspaces with the same Eclipse installation.

How can I enable Ctrl+Shift+T? What other info do we need to troubleshoot?


Solution

  • Do you have the right perspective opened? "Open Type" does work in the Java, JavaEE ... perspectives, but not in the "Synchronize" perspective (for example).

    To enable it for the "Synchronize" perspective in eclipse Mars(4.5) first close all your opened editors then go to Window > Perspective > Customize Perspective... and in the "Action Set Availability" tab check the "Java Navigation" action set.