开发者

NetBeans - shortcut for returning to previous position after invoking 'Go to Declaration'

In Netbeans I want to be able too return back to my previous position after selecting Go to 开发者_开发百科Declaration (ctrl + click on variable). Similar to the option in Microsoft Visual Studio .Net IDE when I click (ctrl + -) - it will return to the previous position I was in.


Tested, for the 7.1.1 version, it is ALT+LEFT.


Another useful shortcut is ctrl-q which takes you to the last edit point.


Navigate back :(ALT+LEFT)

Navigate forward :(ALT+RIGHT)


For El Capitan one needs to go to the System Preferences -> Keyboard -> Shortcuts and under "Mission Control" disable the ctrl-arrow sequences and then it works


For El Capitan I was not able to figure this out.

So instead I applied my own keybinding.

Go to Netbeans -> preferences -> keymap

Search for "back" and add your own keybinding.

Cheers :)


I think you are looking for Alt-K

In the menu this is Navigate --> Back


Tested for Netbeans 8.2 on MAC, it is ctrl+B.


I think you should try: Control + W

Command + W on MAC

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜