15

Is there a keyboard shortcut for "Link with editor" feature in Eclipse?

if not, is there any way, where i can map ui elements on eclipse with keyboard shortcuts? (custom plugins/RCP code etc?)

Satish
  • 6,457
  • 8
  • 43
  • 63

1 Answers1

19

There is not by default, but you can define this yourself. Go into Preferences -> General -> Keys, and then type "link" into the search box. You want the "Toggle Link with Editor" command. You can then define the key binding by filling in the "Binding" box below.

Francis Upton IV
  • 19,322
  • 3
  • 53
  • 57
  • 4
    I define the binding, something like CTRL+SHIFT+O, but it doesn't work :(... (tried other bindings). Any idea why? (I have "In Window" as shortcut context, suing eclipse Luna) – edbras Jul 11 '14 at 13:59
  • 1
    If you use the latest eclipse press Ctrl + 3 and type 'Keys' to reach the key binding menu. No need to navigate through the menus anymore. Use Cmd+3 for mac. – nanospeck Jun 03 '15 at 01:15
  • @edbras You're right, it seems like it only works whe you're focused in the "Package explorer" tile which is a bummer. The same behavior is present in the 2018-12 release. – jebeaudet Jan 04 '19 at 20:25
  • @jebeaudet You can focus on "Package Explorer" first by using Alt + Shift Q, E shortcut and then use the new binding. Alternatively you can focus on "Project Explorer" and use the new binding, but "Show View (Project Explorer)" has no default binding and you have to define one first. – miloxe May 25 '19 at 11:53