NetBeans Keyboard Shortcuts

  • SumoMe

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

Leave a Reply


*