Write smarter code
The following table contains shortcuts that helps you write the code:
Shortcut |
Purpose |
---|---|
Alt + Enter |
Displays quick fixes and context actions |
Ctrl + R, V |
Introduces variable |
Alt + Insert |
Generates code |
Ctrl + E, U |
Surrounds with... |
Ctrl + Space bar |
IntelliSense |
Ctrl + Alt + Space bar |
Smart IntelliSense |
Ctrl + W |
Extends code selection |
Alt + Delete |
Safely deletes |
Ctrl + Shift + F1 |
Quick documentation |
Ctrl + E, L |
Live templates |
Ctrl + Alt + Insert |
File template |
Ctrl + R, R |
Renames |
Ctrl + R, O |
Moves to a separate file |
Ctrl + Shift + R |
Refactor this... |
Ctrl + D |
Duplicate line |