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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay