My favorite VS keyboard shortcuts
June 3, 2024 | Article
TL;DR
TL:DR summmary
Technology
Other
Moving the cursor faster
Move Cursor word by word
Ctrl + <- / ->
Move cursor to previous location
Alt + <- / ->
Move to beginning/end of line
Home/End
Move to beginning/end of file
Ctrl + Home/End
Go to a line number
Ctrl + g
Go to matching bracket
Ctrl + Shift + \
Go to symbol in file
Ctrl +Shift + O
Go to symbol in workspace
Ctrl + T
Making selections
- Select word by word
- Ctrl + Shift + <- / ->
- Select line by line
- Ctrl + L
- Selects entire line, hitting again will select the next line
- Shift + Up / Down
- Select lines, can control direction
- Ctrl + Shift + Alt + Arrows
- Box Selection
- Ctrl + L
- Select character by character
- Shift + <- / ->
- Expand selection
- Alt + Shift + <- / ->
- select entire word, hit again to select next occurrence
- Ctrl + D
- Select all occurrences of the current selection
- Ctrl + Shift + L