Skip to content

Latest commit

 

History

History
86 lines (55 loc) · 1.27 KB

vscode.md

File metadata and controls

86 lines (55 loc) · 1.27 KB

VISUAL STUDIO CODE (HOTKEYS)

Selection

Select all occurrences of selected
CTRL+SHIFT+L

box selection
SHIFT+ALT+MOUSE_SELECTION / CTRL+SHIFT+ALT+ARROW

RENAME all instances
F2 (while over a string/function name etc)

copy - duplicate copy entire line
SHIFT + ALT + DOWN_ARROW

move - move entire line up or down
ALT + ARROW

Search - searches folder for all instances
CTRL + P

delete - delete entire row
CTRL + SHIFT + K


Formatting

entire document formatting
SHIFT + ALT + F

apply formatting to selection
CTRL+K CTRL+F

code collapse / expand
CTRL+SHIFT+[ CTRL+SHIFT+]

collapse all sections
CTRL+K CTRL+0 CTRL+K CTRL+J

comment block
CTRL + /

Error

navigate to errors
F8

debugging
F5


settings / help

bring up settings panel
F1

show all commands / command palete CTRL + SHIFT + P

go to file
CTRL + P

find in files
CTRL + SHIFT + F

toggle terminal
CTRL + `

intelli-sense
CTRL+SPACE

opens up settings panel
Ctrl + ,


VSCODE SETTINGS

Change to use Git Bash

"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"