netbeans Shortcuts Code Editor Shortcuts


Example

Generate code

Alt+Insert

Add comment lines

Ctrl+Shift+C

Remove comment lines

Ctrl+/

Format selection

Alt+Shift+F

Fix all class imports

Ctrl-Shift-I

Fix selected class's import

Alt+Shift+I

Shift lines left

Alt+Shift+

Shift lines right

Alt+Shift+

Shift lines up

Alt+Shift+

Shift lines down

Alt+Shift+

Toggle Rectangular Selection

Ctrl+Shift+R

Copy lines up

Ctrl+Shift+

Copy lines down

Ctrl+Shift+

Delete current line

Ctrl+E

Inspect members

Ctrl+F12

Inspect hierarchy

Alt+F12

Complete Code

Ctrl+Space

Rename

Ctrl+R