My Visual Studio Code setup

A few months ago I have been blogging about My Atom setup.
I have always kept an eye on the progress of Visual Studio Code though, having it installed, checking new features and extensions.

Last month, after quite some dissapointments with Atom (like broken expand/collapse, split screen issues due to minimap), I decided to give VS Code a better chance, and code with it on my current projects.

During the first couple of days I had to get used to doing some things differently (like search results on the sidebar), customize user preferences here and there, as well as find suitable extensions.

Well, I got to admit that the result was totally worth the effort, as I have been feeling a lot more productive while coding on VS Code. And it’s not just the blazing fast performance of the editor, there are little features everywhere that contribute to the overall great experience. I will try to list as many of them as I can think of.

Here is my VS Code setup:

Theme

Color Theme: One Dark Pro
File Icon Theme: Material Icon Theme

Keyboard Shortcuts

I am using the official Atom Keymap extension.
VS Code team has done a great job providing extensions for both Atom and Sublime so that developers can get productive without having to learn yet another new set of shortcuts.

Packages

The Essential

EditorConfig for VS Code

Editorconfig helps developers to maintain consistent coding styles between different editors and platforms.

Open in GitHub

Provides commands to quickly open the current file on GitHub (History / Blame / File views).
You may also want to check Git Lens for in-editor views.

Docker

Everything you need if you are working with Docker on your repos.

JavaScript

ESLint

Integrates ESLint into VS Code.

jshint

Integrates JSHint into VS Code.

Debugger for Chrome

Debug your JS code in the Google Chrome browser, using breakpoints, watches and more.

Document This

An extension that helps you autogenerate and write JS code documentation.

Python

Python

An awesome Python extension providing linting (using Pylint, pep8 or other linters), intellisense, debugging support and more.

Ruby

Ruby

A Ruby extension that provides linting, debugging support and more.

CSS

StyleLint

Lint CSS files using stylelint.

Other

Sort lines

A simple extension for sorting lines with multiple options.

Settings (User Preferences)

Initially I was thinking about listing my own settings, however since they are highly opinionated, I will advise you to go through preferences/settings and customize them according to your needs. They are intuitively separated into sections, there is documentation and a quick search.

Things I love on VS Code

VS Code has something for everyone

If you enjoy using an integrated terminal or source control within your editor, VS Code does that. I prefer to keep the best apps for each task, so for example I am working with iTerm2 and GitHub Desktop.

Apart from the JS, Python, Ruby related extensions that I have listed, there is also support for Java, PHP and other programming languages.

And similarly to Atom, you can find almost every extension you may need on the Marketplace.