Two Hidden NetBeans Keyboard Shortcuts for Opening & Toggling between Views

The following are two really basic shortcuts for working with NetBeans editor windows that will be added to the Keyboard Shortcuts card (always accessible under the Help menu) for NetBeans IDE 7.2:
  1. Ctrl-Alt-PgUp/PgDown: Shortcuts for switching between editor types (e.g. Source, Design, History buttons). Switching between the editor types is a frequent operation sometimes, e.g., when using GUI builder, and while it can be done easily via mouse, or from View | Editors menu, it is very handy to know the shortcuts as well.

  2. Ctrl-PgUp/PgDown: Similarly, these are shortcuts for switching to next/previous opened document (tab). Note this is not like Ctrl-Tab that cycles in the last used order, but going through the tabs as they appear in the editor.

Both shortcuts should fit into the "Opening and Toggling between Views" section. These are important to mention on the card because they are not visible anywhere else in the UI (as there are no menu items like "Go to next/previous editor type" or "Go to next/previous document").

Reported by Tomas Pavek from the NetBeans Team, here: http://netbeans.org/bugzilla/show_bug.cgi?id=213815

Comments:

Ah! So glad you mentioned this. I was wanting to use something like this the other day. On Mac though, the common shorcut is cmd-shift-[ and cmd-shift-] to switch to next/previous tab. I just added alternate shortcuts in the program options (yet another feature I wasn't aware of!). Thanks!

Posted by Steven Yi on June 11, 2012 at 05:55 AM PDT #

Does not work on Mac. Maybe because there is no PgUp/PgDown key on my MacBook Pro?

Posted by guest on November 29, 2013 at 11:22 AM PST #

Figured it out. It's Ctrl + Cmd + PgUp/PgDown (Up Arrow/Down Arrow)

Posted by guest on November 29, 2013 at 11:28 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today