Creating and Editing Code
In this section:
You can use the following shortcuts for basic editing tasks:
Command | Shortcut |
---|---|
Select All | Ctrl+A |
Move Caret to Previous Word with Selection | Ctrl+Shift+Left |
Move Caret to Next Word with Selection | Ctrl+Shift+Right |
Move Caret to Page Top with Selection | Ctrl+Shift+Page Up |
Move Caret to Page Bottom with Selection | Ctrl+Shift+Page Down |
Extend Selection | Ctrl+Alt+Right |
Shrink Selection | Ctrl+Alt+Left |
Add Selection for Next Occurrence | Alt+J |
Copy | Ctrl+C |
Cut | Ctrl+X |
Paste | Ctrl+V |
Paste Simple | Ctrl+Shift+Alt+V |
Paste from History... | Ctrl+Shift+V |
Duplicate Line or Selection | Ctrl+D |
Copy Paths | Ctrl+Shift+C |
Save All | Ctrl+Shift+S |
Undo | Ctrl+Z |
Indent Selection | Tab |
Unindent Line or Selection | Shift+Tab |
Move Line Up | Shift+Alt+Up |
Move Line Down | Shift+Alt+Down |
Toggle Case | Ctrl+Shift+U |
Scratch File | Ctrl+Shift+Alt+Insert |
And here are shortcuts for advanced code editing helpers:
Command | Shortcut |
---|---|
Show Action List | Alt+Enter |
Basic | Ctrl+Space |
SmartType | Ctrl+Alt+Space |
Class Name Completion | Shift+Alt+Space |
Complete Current Statement | Ctrl+Shift+Enter |
Parameter Info | Ctrl+Shift+Space |
Quick Documentation | Ctrl+Shift+F1 |
Move Statement Up | Ctrl+Shift+Alt+Up |
Move Statement Down | Ctrl+Shift+Alt+Down |
Move Statement Left | Ctrl+Shift+Alt+Left |
Move Statement Right | Ctrl+Shift+Alt+Right |
Comment with Line Comment | Ctrl+Alt+/ |
Comment with Block Comment | Ctrl+Shift+/ |
Generate... | Alt+Insert |
Last modified: 11 October 2017