Is there a hotkey in Eclipse for "Open Declared Type"?

When falling over a variable, you can go directly to its definition by pressing F3. But what I'm looking for is a way to go directly to my type definition, which I am currently doing, by pressing CTRL + clicking "Open Declared Type".

Is there an easier way to do this?


source to share

4 answers

  • Assign a key stroke to the Navigate> Open Hyperlink command using Options> Keys. (I am using F6)
  • You can now use this keystroke instead of using Ctrl + Click to display the hyperlink popup.

Not what you are looking for, but this is the best solution I think.



There is another option: Ctrl + Shift + t. This will open a window where you can find whatever type you want. This will become a shortcut when you highlight your target, press Ctrl + Shift + t and hit enter. Imho Ctrl + Click is even faster.

If you want to test any other keyboard shortcuts, go to Windows -> Preferences -> General -> Keys



I've always relied on the combination of ctrl + shift + t and the hover option. I never thought about the main purpose of the strike. I can try to map the scroll button, for example open a link in a new tab.



in Windows > Preferences > Keys

find Go to type and assign it ctrl-f3

or shift-f3

(there is a conflict with ctrl-f3




All Articles