10 Essential Productivity Tips for Visual Studio Code

Visual Studio Code is easily the best programming text editor. It has replaced Sublime Text as my code editor of choice and I’m never going back. It’s an Electron-based JavaScript app (like Atom, another highly praised text editor), but it’s lightning fast and doesn’t suffer performance issues like most JavaScript apps.

And in case you were wondering, yes: VS Code is open-source and available on GitHub. Ten years ago, if I’d told you that Microsoft would embrace open-source software, you would’ve laughed. Look how far we’ve come!

Anyway, let’s get to it. Here are several essential Visual Studio Code tips that you should learn if you want to boost your productivity and workflow to the next level. computer science computer science computer science 

1. Master the Command Palette in VS Code

visual-studio-code-command-palette

computer science computer science computer science  computer science computer science computer science 

Much like Sublime Text (and TextMate before it), VS Code has something called a command palette. This feature lets you access various commands just by typing them out rather than being forced to navigate menus using your mouse. computer science computer science computer science  computer science computer science computer science 

You can bring up the command palette with the Ctrl + Shift + P keyboard shortcut. Just start typing what you want to do (e.g. “close”) and the options will update in real-time. Some commands are categorized (e.g. “File”, Git”, “Terminal”, etc.), so you can use that to locate commands that you can’t seem to find.

2. Set a Working Project Folder

visual-studio-code-working-folder

computer science computer science computer science  computer science computer science computer science 

If you click on Explorer in the navigation sidebar, you’ll see a new subpanel open up. This subpanel is divided into two sections: Open Editors (i.e. files and documents currently open) and No Folder Opened. The latter is what we’re interested in. computer science computer science computer science  computer science computer science computer science 

Click Open Folder (or you can navigate to File > Open Folder in the menu bar) and select any folder on your system. This will load that folder into VS Code as the “current working project”, allowing you easy access to all files and subfolders, so you don’t have to keep flipping back and forth to File Explorer.

Prev1 of 6Next

Leave a Reply

Your email address will not be published. Required fields are marked *