Visual Studio Code – 10 Keyboard Shortcuts You Need to Know

Here are 10 of Visual Studio Code keyboard shortcuts that will help you out a lot. Give them a shot and let me know what you think.

Turn off word-wrap
Windows: Alt + z
Mac: ⌥ + z

Toggle the sidebar
Windows: Control + b
Mac: ⌘ + b

Toggle File explorer
Windows: Control + Shift + e
Mac: ⌘ + ⇧ + e

Quick Open a File
Windows: Control + p
Mac: ⌘ + p

Reopen a tab you just closed
Windows: Control + Shift + t
Mac: ⌘ + ⇧ + t

Close the Active Tab
Windows: Control + w
Mac: ⌘ + w

Go to a specific tab that is open
Windows: Alt + number
Mac: ⌃ + number

Add cursor to lines above/below
Windows: Control + Alt + up/down
Mac: ⌘ + ⌥ + up/down

Move a line of code up or down (or block of code)
Windows: Alt + up/down
Mac: ⌥ + up/down

Toggle the VS Code Terminal Window
Windows: Control + ~
Mac:  ⌘ + ~

 

Published by Bruce Elgort

You’ll find this technology professor – an award-winning instructor at Clark College – working hard to inspire and challenge his students with meaningful web development and programming experiences. With a skinny vanilla latte (no foam) in hand, Bruce loves to tinker and test the boundaries of existing and emerging technologies, to then guide hungry minds through memorable, educational journeys to showcase with passion the ever-evolving innovations of society. An industry leader, Bruce is known for co-developing Elguji’s IdeaJam software, and is recognized by IBM as an ‘IBM Champion’ for being an innovative thought leader in cloud technologies.

%d bloggers like this: