22 Oct 2017
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:
Color Theme: One Dark Pro
File Icon Theme: Material Icon Theme
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.
Editorconfig helps developers to maintain consistent coding styles between different editors and platforms.
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.
Everything you need if you are working with Docker on your repos.
Integrates ESLint into VS Code.
Integrates JSHint into VS Code.
Debug your JS code in the Google Chrome browser, using breakpoints, watches and more.
An extension that helps you autogenerate and write JS code documentation.
An awesome Python extension providing linting (using Pylint, pep8 or other linters), intellisense, debugging support and more.
A Ruby extension that provides linting, debugging support and more.
Lint CSS files using stylelint.
A simple extension for sorting lines with multiple options.
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.
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.