This is a draft cheat sheet. It is a work in progress and is not finished yet.
General
Omnibox |
Ctrl + Shift + O |
Command palette |
Ctrl + Shift + P |
User settings |
Ctrl + , |
Open new files / folders |
Ctrl + E |
Save all |
Ctrl + S |
Navigation
Go to line |
Ctrl + G |
Go to symbol |
Ctrl + N |
Go to global symbol |
Ctrl + Alt + N |
Open tool window |
Alt + [1-9] |
Open problems window |
Alt + 0 |
Toggle sidebar |
Ctrl + B |
Toggle terminal |
Ctrl + ` |
Focus editor |
Shift + Esc |
Switcher |
Ctrl + Tab |
Navigate editor tabs |
Alt + arrow |
Close editor tab |
Ctrl + F4 |
Split editor / terminal |
Ctrl + \ |
Focus editor group |
Ctrl + [1-9] |
Full screen |
F11 |
Zen mode |
Ctrl + Alt + Z |
Debugging
Start / stop |
F5 / Shift + F5 |
Step over / out |
F8 / Shift + F8 |
Step into / continue |
F7 / F9 |
Toggle breakpoint |
Ctrl + F8 |
Run without debugger |
Shift + F10 |
Debugging console |
Alt + F8 |
|
|
Search and replace
Find |
Ctrl + F |
Replace |
Ctrl + R |
Find next / previous |
F3 / Shift + F3 |
Find in files |
Ctrl + Shift + F |
Replace in files |
Ctrl + Shift + R |
Select next occurrence |
Ctrl + J |
Soft undo |
Ctrl + Shift + J |
Select all occurrences |
Ctrl + Alt + J |
Basic Editing
Cut line |
Ctrl + X |
Copy line |
Ctrl + C |
Paste |
Ctrl + V |
Move line up / down |
Ctrl + Shift + arrow |
Insert line above |
Ctrl + Alt + Enter |
Insert line below |
Shift + Enter |
Duplicate line |
Ctrl + D |
Select line |
Ctrl + L |
Delete line |
Ctrl + Shift + L |
Delete to end |
Ctrl + K |
Delete to start |
Ctrl + Shift + K |
Select all |
Ctrl + A |
Indent / outdent line |
Ctrl + ] / [ |
Expand / collapse block |
Ctrl (+ / -) |
Expand / collapse all |
Ctrl + Shift (+ / -) |
Scroll up / down |
Ctrl + arrow |
|
|
Rich editing
Basic completion |
Ctrl + Space |
Smart completion |
Ctrl + Shift + Space |
Complete statement |
Ctrl + Shift + Enter |
Parameter info |
Ctrl + P |
Documentation lookup |
Ctrl + Q |
Source lookup |
Ctrl + Enter / mouse |
Toggle line comment |
Ctrl + / |
Toggle block comment |
Ctrl + Shift + / |
Extend selection |
Ctrl + W |
Shrink selection |
Ctrl + Shift + W |
Go to matching bracket |
Ctrl + Shift + M |
Go to last edit |
Ctrl + Shift + Backspc |
Insert cursor |
Ctrl + Alt + arrow |
Toggle case |
Ctrl + (Shift) + U |
Reformat code |
Ctrl + Alt + L |
Source actions
Generate code |
Alt + Ins |
Refactoring actions |
Alt + Enter |
Rename element |
Ctrl + Alt + R |
Peek definition |
Ctrl + Alt + D |
Peek usages |
Ctrl + Alt + F |
Peek implementation |
Ctrl + Alt + I |
Go to next problem |
F8 |
Go to previous problem |
Shift + F8 |
|