VS Code Extensions
I’ve been using VS Code as my primary code editor for almost a year and love how extensible it is thanks to a huge community building all sorts of great extensions. Here’s a few recommended essentials:
This appears to be the best spell checker available. There are many available dictionaries including software terms, company names and more. It’s easy to add words to the projects dictionary too.
.editorconfig files is built in to the full Visual Studio and I wish it was built in to VS Code too, so for now make do with installing this as an extension.
for more details on this.
Simply displays the file size of the current document in the footer. As a bonus you can click it to see additional details - the calculated size if gZipped along with MIME type and dates when file was created and last changed.
Useful linter for catching errors in your HTML files. Linting rules can be customised with a
HTMLHint was originally intended only to lint HTML files, but by adjusting the settings you can use it to detect errors in PHP, ASP or templating languages such as Liquid.
Note that there is a bug
which may prevent the
.htmlhintrc from being read in some cases in which case its a good idea to add your preferences to the projects
Essential tool for linting - used by Facebook, GitHub, Wikimedia, WordPress and Bootstrap among others. Check Stylelint.io for more details.
Old habits die hard. I always used the
Enter shortcut for adding a
<br> in previous editors I’ve used. This extension adds that shortcut.