delphi - How to set shortcut to a line of code in Eclipse IDE editor -


i'm after feature in eclipse allows me allocate shortcut line (say line number 55) go somewhere else in same file , hit shortcut ide shows me line 55. have used feature in delphi ide. using cntl + number keys[1,2,...,0] shortcut line curser created. shortcut has effect within editor , each opened file have own shortcuts. there such feature in eclipse? there plugins out there adds feature eclipse?

regards,

ali

by default there no shortcut defined task. use define shortcuts in eclipse in "windows/preferences/general/keys" type bookmark in filter text , select commands want define shortcuts.

my current shortcuts are:

  1. alt+shift+b, alt+shift+a: add bookmark;
  2. alt+shift+b, alt+shift+v: show view (bookmarks);

but, agree, still not fast delphi predefined shortcuts.

update 1: this plugin (or sucessor) seems offer option. site:

  • add numbered bookmark @ cursor: alt>+[digit]. creates quick bookmark specified number using "single" keypress. 1 bookmark of given number can present in workspace. setting same number bookmark again clear earlier instance.

  • goto numbered bookmark: alt+shift+[digit]. moves bookmark set using alt+[digit].

update 2: tested (eclipse indigo) , worked charm.


Comments