Cheatography
https://cheatography.com
IntelliJ and Visual Studio
This is a draft cheat sheet. It is a work in progress and is not finished yet.
IntelliJ - General
Ctrl+Shift+A |
Find action |
Shift+F10 |
Run |
Shift+F9 |
Debug |
Ctrl+Mouseover |
Brief info |
Ctrl+Q |
Quick documentation lookup |
Ctrl+N |
Go to class |
Ctrl+Shift+N |
Go to file |
Ctrl+Numpad+/- |
Expand/Collapse code block |
Ctrl+Shift+Numpad+/- |
Expand/Collapse all |
IntelliJ - Editing and Automation
Ctrl+Shift+Enter |
Complete statement |
Shift+Enter |
Start new line |
Ctrl+Shift+Space |
Smart code completion |
Alt+Delete |
Safe delete |
Ctrl+Y |
Delete line |
Ctrl+D |
Duplicate current line or selected block |
Shift+F6 |
Rename |
Ctrl+Alt+M |
Extract method |
Alt+Insert |
Generate code |
Ctrl+I |
Implement methods |
Ctrl+O |
Override methods |
Ctrl+Alt+I |
Auto-indent lines |
Ctrl+Alt+L |
Reformat code |
IntelliJ - VCS
Ctrl+K |
Commit to VCS |
Ctrl+T |
Update project from VCS |
Alt+Shift+C |
View recent changes |
|
|
Visual Studio - General
Ctrl+Q |
Quick documentation |
Ctrl+Shift+N |
Go to file |
Ctrl+Shift+G |
Navigate to |
Ctrl+Shift+Alt+G |
Go to related files |
Ctrl+Shift+[number] |
Set/Remove bookmark |
Ctrl+[number] |
Go to bookmark |
Ctrl+F11 |
File structure |
Shift+Alt+L |
Locate in solution explorer |
F12 |
Go to next highlight |
Shift+F12 |
Go to previous highlight |
Alt+F12 |
Go to next error |
Ctrl+T, Y |
Run current session |
Ctrl+T, R |
Run unit tests |
Visual Studio - Editing
Ctrl+Shift+Space |
Smart code completion |
Ctrl+Shift+Enter |
Complete statement |
Ctrl+Alt+Space |
Import symbol completion |
Ctrl+Shift+Alt+u/d/l/r |
Move code |
Ctrl+D |
Duplicate code |
Ctrl+Shift+V |
Paste multiple |
Visual Studio - Automation
Alt+Ins |
Generate code |
Alt+Enter |
Show available quick-fixes |
Ctrl+J |
Insert live template |
Ctrl+Alt+J |
Surround with template |
Ctrl+Alt+Ins |
Create file from template |
Visual Studio - Refactoring
Ctrl+Shift+R |
Refactor this |
Ctrl+Alt+F |
Code cleanup |
F2 |
Rename |
Alt+Del |
Safe delete |
Ctrl+Alt+M |
Extract method |
Ctrl+Alt+P |
Introduce parameter |
Visual Studio - Code navigation
Ctrl+Shift+Backspace |
Go to last edit location |
Ctrl+Shift+Alt+Backspace |
View recent edits |
Alt+F7 |
Find usages |
Ctrl+Shift+F7 |
Highlight usages in file |
Ctrl+B |
Go to declaration |
Ctrl+Alt+F7 |
Go to usage |
|
|
|