KeymapProfileFor60

NetBeans IDE 6.0 - 6.5 Keyboard Shortcuts Specification

This is the UI specification for the default keymap profile in the NetBeans IDE 6.0, 6.1 and 6.5.

For NetBeans IDE users:


Contents


How to read this table?

  • When there are multiple modifiers used, their order always goes from Ctrl first right then up. (i.e. Ctrl + Alt + Shift + Enter, NOT Ctrl + Shift + Alt + Enter)

How to search this table?

  • The key delimiter used is +, it is always surrounded by spaces.
  • For non-character symbols ("+", "-", ".", ",", "/") , their name is always used instead of the symbol (i.e: Plus, Minus, Comma, Period, Slash, Backslash, Space, Enter)
  • Other examples
  • Left Bracket
  • Enter, Insert
  • Left, Right, Up Down
  • Page Up, Page Down
  • Names for arrows keys used are: Left, Right, Up, Down
  • examples:
  • Ctrl + Shift + NumPad Plus
  • Ctrl + Alt + Right

List Of Shortcuts

Basic Language Independent Editing

Action NB6 Shortcut NB6 Mac Shortcut
adjust-caret-top Alt + Shift + Page Up Ctrl + Shift + Page Up
adjust-caret-bottom Alt + Shift + Page Down Ctrl + Shift + Page Down
adjust-caret-center Alt + Shift + Insert < none >
caret-backward Left Left
caret-forward Right Right
caret-up Up Up
caret-down Down Down
caret-end-line End End
caret-begin-line Home Home (End)
caret-backward KP + Left KP + Left
caret-forward KP + Right KP + Right
caret-down KP + Down KP + Down
caret-up KP + Up KP + Up
caret-end-word < none > < none >
Selection-backward Shift + Left Shift + Left
selection-forward Shift + Right Shift + Right
selection-up Shift + Up Shift + Up
selection-down Shift + Down Shift + Down
selection-begin-line Shift + Home Shift + Home
selection-end-line Shift + End Shift + End
selection-page-down Shift + Page Down Shift + Page Down
selection-page-up Shift + Page Up Shift + Page Up
Select All Ctrl + A Cmd + A
Insert Tab Tab Tab
insert-break Enter Enter
Collapse (hide) a block Ctrl + Minus Cmd + Minus
Collapse (hide) a block Ctrl + NumPad Minus
Collapse (hide) all code blocks Ctrl + Shift + NumPad Minus Cmd + Shift + Minus
Expand a Collapsed Block (expand-fold) Ctrl + Plus Cmd + Plus
Expand a Collapsed Block (expand-fold) Ctrl + NumPad Plus
Expand a Collapsed Block (expand-fold) Ctrl + Equals Cmd + Equals
Expand all code blocks (expand-all-folds) Ctrl + Shift + NumPad Plus
Expand all code blocks (expand-all-folds) Ctrl + Shift + Plus Cmd + Shift + Plus
Expand all code blocks (expand-all-folds) Ctrl + Shift + Equals Cmd + Shift + Equals
Delete current word (remove-word-next) Ctrl + Del Cmd + Del
Delete previous word Ctrl + Backspace Alt + Backspace
Delete the current Line Ctrl + E Cmd + E
delete-previous Shift + Backspace Shift + Backspace
delete-previous Backspace Backspace
Remove the line until caret position (remove-line-begin) < none > < none >
Scroll Down Ctrl + Down Cmd + Down
Scroll Up Ctrl + Up Cmd + Up
Copy Ctrl + C Cmd + C
Copy Ctrl + Insert < none >
Copy Copy Copy
Cut to Clipboard Ctrl + X Cmd + X
Cut to Clipboard Shift + Delete < none >
Cut to Clipboard Cut Cut
Paste from Clipboard Paste Paste
Paste from Clipboard Shift + Insert < none >
Paste from Clipboard Ctrl + V Cmd + V
Indent Selection Tab Tab
Unindent Selection Shift + Tab Shift + Tab
Add/remove comment lines ("//") - German and other keyboard layouts without a slash. Ctrl + Shift + C Ctrl + Shift + W ?
Add comment lines ("//"). This action was replaced by comment toggle < none > < none >
Remove comment lines ("//"). This action was replaced by comment/uncomment toggle < none > < none >
Shift line one tab to the right Alt + Shift + Right Ctrl + Shift + Right
Shift one tab to the left Alt + Shift + Left Ctrl + Shift + Left
Move Selection/Line down (move-selection-else-line-down) Alt + Shift + Down Ctrl + Shift + Down
Move Selection/Line up (move-selection-else-line-up) Alt + Shift + Up Ctrl + Shift + Up
Duplicate line below (copy-selection-else-line-down) Ctrl + Shift + Down Cmd + Shift + Down
Duplicate line above (copy-selection-else-line-up) Ctrl + Shift + Up Cmd + Shift + Up
Reformat Selection (Reformat Indentation) Alt + Shift + F Ctrl + Shift + F
Start New Line (start-new-line) Shift + Enter Shift + Enter
Split line (split-line) Ctrl + Enter Cmd + Enter
Start Recording Macro < none > < none >
Stop Recording Macro < none > < none >
macro-debug-var < none > < none >
Convert selection to uppercase (to-upper-case) Ctrl + U, then U Cmd + U, then U
Convert selection to lowercase (to-lower-case) Ctrl + U, then L Cmd + U, then L
Switch (toggle) case of selection (switch-case) Ctrl + U, then S Cmd + U, then S
Toggle Typing Mode Insert < none >
Undo Ctrl + Z Cmd + Z
Redo Ctrl + Y Cmd + Y
Previous matching word (word-match-prev) Ctrl + K Cmd + K
Next matching word (word-match-next) Ctrl + Shift + K Cmd + Shift + K


Coding in Java

Action NB6 Shortcut NB6 Mac Shortcut
Show Suggestion/Tip/Hint Alt + Enter Ctrl + Enter
Select next element (select-element-next) Alt + Shift + Period Ctrl + Shift + Period
Select previous element (select-element-previous) Alt + Shift + Comma Ctrl + Shift + Comma
Select-identifier Ctrl + I Cmd + I
Surround with try + catch block < none > < none >
Fix Imports (fix-imports) Ctrl + Shift + I Cmd + Shift + I
Fast Import (fast-import) Alt + Shift + I Ctrl + Shift + I
Prepend “get” to identifier (make-getter) Alt + U g < none >
Prepend “is” to identifier (make-is) Alt + U i < none >
Prepend “set” to identifier (make-setter) Alt + U s < none >
Insert Code (generate-code) Alt + Insert Ctrl + I
Override Method < none > < none >
Select next parameter Ctrl + M Ctrl + M
Add/remove comment. Should work for all languages. Ctrl + Slash Cmd + Slash
Insert internationalized String... Ctrl + Shift + J Cmd + Shift + J
Show Javadoc (javadoc-show-action) Ctrl + Shift + Space Cmd + Shift + Space
Display Help (Javadoc for Java) Alt + F1
Javadoc Index Search Shift + F1 Shift + F1
Open code completion (completion-show) Ctrl + Space Ctrl + Space
Open code completion (completion-show) Ctrl + Backslash Cmd + Backslash
Close code completion Esc Esc
Enter space, no abbreviation expansion Shift + Space Shift + Space
Inspect Members Ctrl + Shift + F12 Cmd + Shift + F12
Inspect File Members Ctrl + F12 Cmd + F12
Inspect Hierarchy Alt + Shift + F12 Ctrl + Shift + F12
Inspect File Hierarchy Alt + F12 Ctrl + F12



Coding in XML

Action NB6 Shortcut NB6 Mac Shortcut
Perform XML transformation Alt + F6 Ctrl + F6
Check XML Alt + F9 Ctrl + F9
XSL Transformation... < none > < none >



HTML editing

Action NB6 Shortcut NB6 Mac Shortcut
Paste formatted Ctrl + Shift + V Cmd + Shift + V



Compiling, Testing and Running

Action NB6 Shortcut NB6 Mac Shortcut
Build Main project F11 Alt + F11, F11
Clean & Build main project Shift + F11 Alt + Shift + F11
Compile selected package or file F9 Alt + F9, F9
Run Main Project F6 F6
Run Main File Shift + F6 Shift + F6
Create Junit test Ctrl + Shift + U Cmd + Shift + U
Run Junit test on file (Test File) Ctrl + F6 Cmd + F6
Test Project Alt + F6 Ctrl + F6
Set Request parameters Ctrl + Q
Run SQL Ctrl + Shift + E Cmd + Shift + E



Debugging

Action NB6 Shortcut NB6 Mac Shortcut
Start debugging main project Ctrl + F5 Ctrl + Cmd + F5
Start debugging current File and Project Ctrl + Shift + F5 Cmd + Shift + F5
Start debugging test for file (JUnit) Ctrl + Shift + F6 Cmd + Shift + F6
Go To calling Method (Make Caller Current) Alt + Page Down Ctrl + Page Down
Go To called Method (Make Callee Current) Alt + Page Up Ctrl + Page Up
Continue debugging session F5 F5
Finish Debugger Session Shift + F5 Shift + F5
New watch... Ctrl + Shift + F7 Cmd + Shift + F7
New breakpoint... Ctrl + Shift + F8 Cmd + Shift + F8
Toggle breakpoint Ctrl + F8 Cmd + F8
Evaluate Expression Ctrl + F9 Cmd + F7
Step Over Expression Shift + F8 Shift + F8
Step Over F8 F8
Step Into F7 F7
Step Out Ctrl + F7 Cmd + F7
Run To cursor location in File F4 F4
Run Into Method Shift + F7 Shift + F7



Profiling

Action NB6 Shortcut NB6 Mac Shortcut
Profile Main Project... < none > < none >
Stop Profiling Session Shift + F2 Shift + F2
Modify Profiling... Alt + Shift + F2 Ctrl + Shift + F2
Re-run Last Profiling Ctrl + Shift + F2 Cmd + Shift + F2 ?
Toggle Profiling point Shift + F9 Alt + Shift + F9
Take Snapshot of Collected Data (TakeSnapshotAction) Ctrl + F2 Ctrl + F2
Reset Collected Results (ResetResultsAction) Ctrl + Alt + F2 Ctrl + Cmd + F2
Show Drilldown Window Ctrl + U, then D Cmd + U, then D



Finding, Searching and Replacing

Action NB6 Shortcut NB6 Mac Shortcut
Find usages Alt + F7 Ctrl + F7
Show Usages window Alt + Shift + U Ctrl + Shift + U
Replace in File Ctrl + H Cmd + R
Reload form Ctrl + R
Find in Projects Ctrl + Shift + F Cmd + Shift + F
Replace in Project Ctrl + Shift + H Cmd + Shift + H
Incremental Search Feature. This should be ideally integrated with regular search and assigned Ctrl + F, if resources permit Ctrl + F Cmd + F
Find in File (2nd) Find Find
Find Next Occurrence F3 Cmd + G
Find Previous Occurrence Shift + F3 Cmd + Shift + G
Search for word at insertion point (find-selection) Ctrl + F3 Ctrl + Alt + G
Turn On/Off Search Result highlights Alt + Shift + H Ctrl + Shift + H



Navigating Through Source Code

Action NB6 Shortcut NB6 Mac Shortcut
Go To Declaration Ctrl + B Cmd + B
C/C++ Go To Declaration... Ctrl + B Cmd + B
Go To Source Ctrl + Shift + B Cmd + Shift + B
Go To Junit test (org.netbeans.modules.junit.GoToOppositeAction) Ctrl + Shift + T Cmd + Shift + T
Go To Super Implementation Ctrl + Shift + P Cmd + Shift + P
Go To Type... Ctrl + O Cmd + O
Go To File... Alt + Shift + O Ctrl + Shift + O
Go To Line Ctrl + G Ctrl + G
Navigate Back (jump-list-prev) Alt + Left Cmd + Left
Navigate Forward (jump-list-next) Alt + Right Cmd + Right
Previous in jump list (all Files) (jump-list-prev-component) < none > < none >
Next in jump list (all Files) (jump-list-next-component) < none > < none >
Last Edit Location Ctrl + Q Ctrl + Q
Move caret to the matching bracket (match-brace) Ctrl + Left Bracket Cmd + Left Bracket
Move caret to the matching bracket with selection Ctrl + Shift + Left Bracket Cmd + Shift + Left Bracket
Move caret to the matching bracket (French/Belgian keyboard) Ctrl + ^ < none >
Move to Text Start Ctrl + Home Cmd + Home
Move to Text Start with Selection Ctrl + Shift + Home Cmd + Shift + Home
Move caret to Text End Ctrl + End Cmd + End
Move to Text End with Selection Ctrl + Shift + End Cmd + Shift + End
Move caret to Next Word Ctrl + Right Alt + Right
Move to Next Word with Selection Ctrl + Shift + Right Alt + Shift + Right
Move to Previous Word Ctrl + Left Alt + Left
Move to Previous Word with Selection Ctrl + Shift + Left Alt + Shift + Left
Page down Page Down Page Down
Page up Page Up Page Up
Toggle bookmark Ctrl + Shift + M Cmd + Shift + M
Next Bookmark Ctrl + Shift + Period Cmd + Shift + Period
Previous bookmark Ctrl + Shift + Comma Cmd + Shift + Comma
Next usage/compile error Ctrl + Period Cmd + Period
Previous usage/compile error Ctrl + Comma < none >




Window Management

Action NB6 Shortcut NB6 Mac Shortcut Note
Arrow tab to window on right (Next Tab) Ctrl + Page Down Cmd + Page Down
Arrow tab to window on left (Previous Tab) Ctrl + Page Up Cmd + Page Up
Previous Inner View //switching views in Editor .. e.g. Source/Design in Matisse Ctrl + Alt + Page Up Ctrl + Cmd + Page Up
Next Inner View // switching views in Editor .. e.g. Source/Design in Matisse Ctrl + Alt + Page Down Ctrl + Cmd + Page Down
Switch To Execution window < none > < none >
Full Screen Alt + Shift + Enter Ctrl + Shift + Enter
Class View (dismissed in NB6?) < none > < none >
Show Local Variables window Alt + Shift + 1 Ctrl + Shift + 1
Show Watches Window Alt + Shift + 2 Ctrl + Shift + 2
Show Call Stack window Alt + Shift + 3 Ctrl + Shift + 3
Show points window Alt + Shift + 5 Ctrl + Shift + 5
Show Sessions window Alt + Shift + 6 Ctrl + Shift + 6
Switch To Threads window Alt + Shift + 7 Ctrl + Shift + 7
Switch to Sources Window Alt + Shift + 8 Ctrl + Shift + 8
Show Source Editor Ctrl + 0 Cmd + 0
Show Projects window Ctrl + 1 Cmd + 1
Show Files window Ctrl + 2 Cmd + 2
Show Favorites window Ctrl + 3 Cmd + 3
Show Output window Ctrl + 4 Cmd + 4
Show Runtime window Ctrl + 5 Cmd + 5
Show Task List Ctrl + 6 Cmd + 6
Show Navigator window Ctrl + 7 Cmd + 7
Show Classes window Ctrl + 9 Cmd + 9
Show Versioning window < none > < none >
Show VCS output window < none > < none >
Show Dynamic Help window Ctrl + Alt + H
Show Outline Window (Outline) window < none > < none >
Show BPEL Debugger Console window Alt + Shift + C Ctrl + Shift + C
Show BPEL Process Instances window Alt + Shift + I Ctrl +Shift + I
Show BPEL Variables window Alt + Shift + 0 Ctrl + Shift + 0
Show Search Results window Ctrl + Shift + 0 Cmd + Shift + 0
Select Node in Projects Ctrl + Shift + 1 Cmd + Shift + 1
Select Node in Files Ctrl + Shift + 2 Cmd + Shift + 2
Select in Favorites Ctrl + Shift + 3 < none >, clash with system function
Select in Model Ctrl + Shift + 5 Cmd + Shift + 5
Select in Classes Ctrl + Shift + 9 Cmd + Shift + 9
Show HTTP Monitor < none > < none >
Show JUnit Test Results window Ctrl + Shift + 6 Cmd + Shift + 6
Show Properties dialog box Ctrl + Shift + 7 Cmd + Shift + 7
Show Component Palette Ctrl + Shift + 8 Cmd + Shift + 8
Show BPEL Mapper Ctrl + Shift + F9 Cmd + Shift + F9
UML Design Center Alt + Shift + W Ctrl + Shift + W
UML Documentation Ctrl + Shift + D Cmd + Shift + D
Toggle between Open documents Ctrl + Tab, Ctrl + ~ Ctrl + Tab
Toggle between Open documents - Backwards Ctrl + Shift + Tab Ctrl + Shift + Tab
Maximize Window (toggle) Shift + Escape Shift + Escape
Open contextual menu (show-popup-menu) Shift + F10 Shift + F10 Workaround needed on Mac OS X - see contextual menu FAQ
Show Documents dialog box Shift + F4 Shift + F4
Adjust-window-bottom < none > < none >
Adjust-window-center < none > < none >
Adjust-window-top < none > < none >



Refactoring

Action NB6 Shortcut NB6 Mac Shortcut
Copy... < none > < none >
Move... < none > < none >
Redo... < none > < none >
Safely Delete... < none > < none >
Rename... Ctrl + R Cmd + R
Extract Method... < none > < none >



Mnemonics

All Alt + letter shortcuts are reserved for mnemonics. This is mainly due to various translations of NetBeans as it is impossible to know necessary mnemonics for all languages in advance.


Ruby & Ruby on Rails

Action NB6 Shortcut NB6 Mac Shortcut
Show documentation for the method, class or field under the caret. Ctrl + Shift + Space Cmd + Shift + Space
Show name of current parameter (when editing an argument list for a method call). Ctrl + P Cmd + P
Select applicable quickfix (when a lightbulb is showing next to the current line) Alt + Enter Alt + Enter
Select next element (select-element-next) Alt + Shift + Period Ctrl + Shift + Period
Select previous element (select-element-previous) Alt + Shift + Comma Ctrl + Shift + Comma
Jump between a Rails action (a method in a controller file) and its corresponding view (a .rhtml or .erb file). Ctrl + Shift + A Cmd + Shift + A
Jump between a test file and its tested file. Ctrl + Shift + T Cmd + Shift + T
Toggle point on current line Ctrl + F8 Cmd + F8
Hippie-expand / complete the current word by inserting the next matching word from open buffers. Ctrl + K Cmd + K
Open Type (go to a class in open projects or in the Ruby libraries) Ctrl + O Cmd + O
Open File by name prefix (not path) Alt + Shift + O Ctrl + Shift + O
Test File Ctrl + F6 Cmd + F6
Run test at caret (Run current test) Ctrl + Alt + F6 Ctrl + Cmd + F6
Debug test at caret (Debug focused test) Alt + Shift + F5 Ctrl + Shift + F5
Reformat paragraph Ctrl + Shift + P Cmd + F9
Generate (Ruby on Rails only) Alt + Insert Ctrl + I



SOA Shortcuts

Action NB6 Shortcut NB6 Mac Shortcut
Move through elements on the BPEL diagram Tab, Shift + arrows Tab, Shift + Arrows
Perform an advanced search of BPEL, WSDL, and schema elements Alt + Shift + F Ctrl + Shift + F
Collapse the selected BPEL element Shift + Enter Shift + Enter
Expand all elements on the BPEL diagram Alt + Enter Ctrl + Enter
Show print preview for a diagram Ctrl + Alt + Shift + P Ctrl + Cmd + Shift + P
Validate XML Alt + Shift + F9 Ctrl + Shift + F9



Other

Action NB6 Shortcut NB6 Mac Shortcut
New file Ctrl + N Cmd + N
New project Ctrl + Shift + N Cmd + Shift + N
Open File < none > < none >
Open Project... Ctrl + Shift + O Cmd + Shift + O
Save Ctrl + S Cmd + S
Save All Ctrl + Shift + S Cmd + Shift + S
Close currently selected window (Close Window) //mac typical Ctrl + W Cmd + W
Close currently selected window (Close Window) Ctrl + F4 < none >
Close all documents Ctrl + Shift + F4 Cmd + Shift + W
Close all documents Ctrl + Shift + W Cmd + Shift + W
Delete Delete Cmd + Backspace
Help F1 F1
Next Notification < none > < none >
Reset Collected Results // < none > < none >
Sync Action < none > < none >
annotations-cycling Ctrl + Shift + C Cmd + Shift + C
Collaboration Ctrl + Shift + L Ctrl + Shift + L
Show Java File Structure < none > < none >
New Subtask ... (in user tasks window) < none > < none >
Print < none > < none >
Show Method Parameters (tooltip-show) Ctrl + P Cmd + P


NetBeans IDE 6.5 Keyboard Shortcut Card

http://netbeans.org/project_downloads/www/shortcuts-6.5.pdf

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo