I've been using Visual Studio Code as my main code editor for more than two years now. I used to work with Sublime Text, which was an amazing software (especially coming from Notepad++), but the guys at Microsoft are constantly doing an amazing job at making their editor the best out there, and their monthly update shows how dedicated they are to keep at improving it.
So it's been my editor of choice, but a good editor would be nothing without good extensions. I've compiled a list of my 10 favorites (plus a few more) extensions I could not live without. They make my day to day work much easier and allow me to save so much time in the long run. Here they are (in no special order):
VS Code provides a tiny preview box for colors in CSS files. Color Info allows you to get a much better view of the color your mouse hovers, complete with CMYK or alpha values. It can even act as a color picker, which is really convenient.
You know I love emojis. This extension allows you to directly insert emojis or type emoji codes in your files. Say you wish to insert a joystick emoji. Just begin to type :joy
for instance and you'll get an auto complete window pop up which will allow to directly insert the 🕹 icon. If you type in ::joy
, it'll insert :joystick:
along with a preview of the emoji. It's great!
As its name states, this simple extension shows the git blame
of the current selected line in the status bar.
I absolutely love Markdown. Actually this whole site makes extensive use of markdown, as it is built with Hugo. This extension helps you write Markdown by adding shortcuts such as Cmd + B
for bold text, Cmd + I
for italics, and so on. So convenient!
If you're like me and work on multiple (sometimes virtual) machines, this extension is wonderful! It allows you to sync your settings and extensions thanks to a Github Gist that gets downloaded/uploaded.
As the name states, it highlights TODOs, FIXMEs and any keyword you specify. Just write TODO:
somewhere and not only will it highlight it, but it'll also list all the ones you've already written anywhere in your project.
This extension is a swiss knife for Vue. From autocompletion to snippets, it's a must-have for any frontend developer.
A multilingual, offline and "lightweight" spellchecker. Spell Right uses your built-in dictionaries to check for errors, and can check for errors in any (and even multiple) language anywhere within your project. Watch out for big files though, as it can sometimes take some time to operate. I usually have it toggled off by default. It's easy to ask it for a spell check just by clicking on the eye icon in your status bar.
Strangely enough, VS Code does not support EditorConfig by default. Just install this extension and it'll instantly start listening to any .editorconfig
file it encounters.
Now this one I use it constantly! Bookmarks is an extension that puts little blue bookmarks in your file gutter. It's extremely handy when you need to switch between positions inside a file, or if you need a quick reminder anywhere in your project. I've set up mine with shift + cmd + =
(toggle bookmark) and shift + cmd + -
(next bookmark) and thanks to this I can jump around files without having to leave my keyboard. The extension also adds a small panel right below your file browser which lists all active bookmarks in the current project. A must-have.
Honorable mentions
This extension is pretty straightforward. Just type in the beginning of a file/directory and it'll autocomplete its name for you. Really handy when you need to point to a file inside node_modules
.
Most of the time I inject my dependencies in my Javascript files thanks to Webpack. But whenever I need to mockup something quickly, this extension has my back. Using the command palette, you'll be able to insert URLs or script/style tags of all the libraries cdnjs handles. Quite handy.
Got one to share?
So here are a few extensions I use every day. If you've got one I should check out, hit the comment section or send me a tweet!
Top comments (26)
As a React developer, I found React Food Truck to be quite useful.
It's a
collection
of React extensions and they come in quite handy :)This is a great list. I also found some nice one recently Polacode it takes snapshots of your code. Guides An extension for more guidelines in your code.
Woah! That's a great one! I've already used Carbon which does the same thing pretty much but being able to do it right from the editor is great. Thank you! :)
Polacode is a good one, thanks Gift
Nice compilation! I’ve found “Bracket Pair Colorizer” and “Prettier” very helpful
I second both of these. Bracket pair has saved me multiple times.
Nice, a few of these I hadn't seen before.
Would recommend GitLens over GitBlame though, as GitLens does not only the blame (including stuff like blame on each line, in the gutter, etc) as well as a ton of other stuff. It's probably my top #1 VS Code extension: marketplace.visualstudio.com/items...
Nice list! Check out vscodecandothat.com/ - just released by @burkeholland and Sarah Drasner
I love the vscode-spotify. It allows you not only to see the song playing but it has the basic player commands shortcuts!
Thanks for sharing Fabien. Definitely gonna check out color info. Git blame is awesome. I also use the Git extension pack which I highly recommend.
Here's my full setup if your interested.
I'm highly recommend Indent Rainbow extension:
marketplace.visualstudio.com/items...
Gotta throw Better Comments into the mix.
My list of extensions in order of usefulness:
MetaGo - probably the best tool for keyboard driven navigation bar none (better than vim), includes bookmarks
Todo+ - a great task manager for my projects, and integrates with source code
Local History - saved my ass more times than not during a hardcore dev session
Find all references - fast rip-grep front end
Clipboard Manager - probably one of the better emacs style clipboard ring
Highlight - Really customizable highlighting for log files, config files,comments. Works with Todo+
Sort lines - does what it says
Palenight theme - easy on the eyes