开发者

Switch between Tabs in Netbeans on Mac?

开发者 https://www.devze.com 2023-01-13 01:39 出处:网络
I feel it annoying to have to mouse click the Tabs in Netbeans when I want to go to another opened file.

I feel it annoying to have to mouse click the Tabs in Netbeans when I want to go to another opened file.

Is there key command to navigate to the LEFT and RIGHT 开发者_开发技巧on Mac?


I know this is an old question, but if someone else ends up here looking for the answer:

Netbeans -> tools -> options -> keymap

OSX: 
next tab = cmd + page down 
prev tab = cmd + page up

Windows:
next tab = ctlr + page down
prev tab = ctlr + page up

note that by default the keymap shortcuts are organised by category and then alphabetically, and not just alphabetically.


I believe it's ctrl + tab & ctrl + shift + tab - link.


Did you tried ctrl + tab and ctrl + shift + tab ?


To update Spoonface's answer for NetBeans 7.0.1 on Mac.

NetBeans -> Preferences -> Keymap

Next Tab = ALT+Meta+RIGHT
Left Tab = ALT+Meta+LEFT

That will match a bunch of other apps on Mac OSX such as Google Chrome and Skype.


Old thread, I know - but seems to fit here... There seems to confusion, some people like to switch to left/right tab, others (like me) wanting to switch to the most-recently-used tab.

The latter would be ctrl-Tab, but on OSX it does not seem to work properly. The list wich all previous tabs comes up, but I do not manage to select anything but the previous tab... I would expect that while holding ctrl and pressing tab repeatedly would go further down in list, which does not happen (at least on my machine).
This is netbeans 7 on OSX Lion.

Any ideas?


My personal preference is the same key mapping as in Textmate:

NetBeans -> Preferences -> Keymap, put "tab" in the search box and change the following:

Next Tab: Shift+Meta+CLOSE_BRACKET
Left Tab: Shift+Meta+OPEN_BRACKET


As of 2015 Netbeans 8.0.2

for MacOS:

still

Shift + Control + tab

Shift + Control + tab

0

精彩评论

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