Immensely Upgrade Your Development Environment With These Visual Studio Code Extensions

Let’s talk about code — Visual Studio Code

Indrek Lasn
Jun 23, 2018 · 5 min read
Visual Studio Code

Let’s talk about code — Visual Studio Code.

Some of my readers requested that I write about the extensions I use — so here we go!

VSC Download link: https://code.visualstudio.com/

Our VSC will be a five-horned laser powered unicorn. Here are the most useful extensions I use every day!

If you’re new to VSC, click on the bottom icon on the sidebar to install extensions.

Material Theme

Material Theme

The most epic theme now for Visual Studio Code:

https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme

Auto Import

Automatically finds, parses and provides code actions and code completion for all available imports. Works with Typescript and TSX.

https://marketplace.visualstudio.com/items?itemName=steoates.autoimport

Import Cost

This extension will display the size of the imported package, inline in the editor. The extension utilizes Webpack with the babili-webpack-plugin in order to detect the imported size.

https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost

Indent-Rainbow

A simple extension to make indentation more readable.

https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow

IntelliSense for CSS Class Names in HTML

A VS Code extension that provides CSS class name completion for the HTML class attribute, based on the definitions found in your workspace or external files, referenced through the link element.

https://marketplace.visualstudio.com/items?itemName=Zignd.html-css-class-completion


Prettier — Code Formatter

Can’t live without this one! A VS Code package to format your JavaScript / TypeScript / CSS using Prettier.

https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

React Native Tools

Code hinting, debugging, and integrated commands for React Native.

https://marketplace.visualstudio.com/items?itemName=vsmobile.vscode-react-native

Sublime Text Keymap and Settings Importer

https://marketplace.visualstudio.com/items?itemName=ms-vscode.sublime-keybindings

This extension converts Visual Studio Code bindings to the same as ST3. Give it a spin and try this:

cmd ⌘ + P — Mac

ctrl + P — Windows

You can go to files, and if you add the > symbol in front of the search you can search for actions — like toggling the built in terminal, installing extensions, and so on.

Big win for those of us who are used to ST3 shortcuts.


npm Intellisense

VSCode plugin that autocompletes npm modules in import statements.

https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense

Lit-html

Adds syntax highlighting and language support for HTML, inside of JavaScript and TypeScript tagged template strings, as is used in lit-html and other frameworks.

https://marketplace.visualstudio.com/items?itemName=bierner.lit-html


Git Project Manager

Git Project Manager (GPM) is a Microsoft VS Code extension that allows you to open a new window, targeting a Git repository directly from a VS Code window.

https://marketplace.visualstudio.com/items?itemName=felipecaputo.git-project-manager

Git History

View a Git log or file history, and compare branches or commits.

https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory

File Utils

A convenient way of creating, duplicating, moving, renaming and deleting files and directories.

https://marketplace.visualstudio.com/items?itemName=sleistner.vscode-fileutils

Bracket Pair Colorizer

A customizable extension for colorizing matching brackets. Very useful when working with a lot of callbacks.

https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer

Color Highlight

This extension styles CSS/web colors found in your document.

https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight

CSS Peek

Allow peeking to CSS ID and class strings as definitions, from HTML files to respective CSS. Allows peek and go to definition.

https://marketplace.visualstudio.com/items?itemName=pranaygp.vscode-css-peek

Debugger for Chrome

Debug your JavaScript code in the Chrome browser, or any other target that supports the Chrome debugger protocol.

https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome

Quokka.js

Live Scratchpad for JavaScript (useful for quick demos).

https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode



WakaTime

Metrics, insights, and time tracking — automatically generated from your programming activity.

https://marketplace.visualstudio.com/items?itemName=WakaTime.vscode-wakatime


Code Runner

Run a code snippet or code file for multiple languages.

https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner

PHP IntelliSense

Advanced autocompletion and refactoring support for PHP.

https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense



React.js Code Snippets

Code snippets for React.js development in ES6 syntax.

https://marketplace.visualstudio.com/items?itemName=xabikos.ReactSnippets

If you know any handy extensions, please post them below and I’ll add them to the list.

If you want to take your JavaScript abilities to the next level, I’d recommend reading the “You Don’t Know JS” book series.

Thanks for reading!

Better Programming

Advice for programmers.

Indrek Lasn

Written by

Software Engineer. I try to be kind and friendly. Let’s change the world together for the better. Follow me on Twitter @ https://twitter/lasnindrek

Better Programming

Advice for programmers.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade