DEV Community

Giulia Chiola
Giulia Chiola

Posted on • Originally published at giuliachiola.dev

Visual Studio Code shortcuts

Some useful shortcuts I use in Visual Studio Code:

Command Description
(find) \n([\w]) -> (replace with) $1 remove all blank lines and replace them with space (using RegEx)
cmd + b toggle sidebar
cmd + shitf + v preview markdown
opt + up/down move row up/down
opt + z toggle text wrap
ctrl + w switch workspace
cmd + f -> focus away -> cmd + g find occurence, focus away, go to the next occurence
search a word, then it will return the previous search keyword

Discussion (0)