key | function |
---|---|
Select Code: | |
command+m+o | Select outward |
command+m+i | Select inward |
Edit Code: | |
F2 | Rename/Refactor all instances of a variable/function/class |
command+m+w | Wrap current tag, with new tag |
Delete Code: | |
option+del | Delete left Word/Symbol |
command+del | Delete left until the begin of the line |
fn+del | Delete right character |
fn+option+del | Delete right Word/Symbol |
fn+command+del | Delete right until the end of the line |
command+m+del | Delete wraping tag |
Moving around: | |
← / → / ↓ / ↑ | move cursor arround |
command+m+m | Jump to closing/opening tag |
Moving code: | |
option+↑ | Moves the current line up |
option+↓ | Moves the current line down |
Multi Cursor: | |
option+MouseClick | Sets multiple cursors |
command+shift+l | Sets a cursor to the end of all identical texts |
command+d (command+k) | Sets another cursor to the end of the next identical text (skip the next one) |
option+←/→ | Move all cursors to the next word/symbol to the left/right |
command+←/→ | Move all cursors to the begin/end of the line |
Inside of the searchbox: | |
option+Enter | Sets a cursor to all found texts |
File Switcher: | |
command+p | Open File Switcher (Move up/down the list with arrows) |
command+p+p | Switch to last used file |
Last active
April 17, 2022 09:53
-
-
Save Starraider/0173e411d9e6e0eadfa0bb352a0cfbd8 to your computer and use it in GitHub Desktop.
Visual Studio Code Keyboard-Shortcuts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment