loading...
Cover image for Must have VScode extensions for frontend developers

Must have VScode extensions for frontend developers

ogurinkaben profile image Ogurinka Benjamin ・4 min read

Visual studio code since being launched has gradually won the hearts of many especially those in frontend development and particularly Javascript devs. When you code, you want to ensure that you're being as productive as possible and when working with VScode, there're a few extensions that help aid your productivity. Let's Jump in!

1. Live Server

Probably my favourite? Live server takes the stress away from having to save and refresh the browser anytime you want to see how your changes look. It enforces auto reload and ensures that your changes are rendered immediately you save your work. This gets even more exciting if you've got VScode's auto save enabled.

2. Live SASS compile

I recently (as recent as a few days ago) started learning SASS and while randomly looking for SASS extensions for VScode, I ran into Live SASS compile. This is a built in VScode SASS compiler that watches all your SASS files and auto compiles them on save. Great stuff!

3. Beautify

Well this another personal favourite! Beautify ensures you never have to worry about code formatting again! With a few settings and configurations you never have to worry about writing ugly code, it makes your code "beautiful".

4. Git lens

"GitLens supercharges the Git capabilities built into Visual Studio Code. It helps you to visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more."
Quoted from Git lens official website!

One of my favourite features of Git lens is the fact that I can get info about when a change was made and who made that change just by hovering over a line of code. It comes in really handy

5. Bookmarks

Bookmarks is an extension that puts little 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

6. Color info

VS Code provides a preview box for colors in CSS files when you hover over them. Color Info allows you to get a much better view of the color your mouse hovers and you could even go further to pick a color that works for you!

7. Bracket pair colorizer.

This is a very handy VScode extension, especially when working with Javascript. It colorizes your brackets and easily helps you know where your bracket opens and closes

8. ESLint

You were probably expecting this one. Code linting is a type of static analysis that is frequently used to find problematic patterns or code that doesn't adhere to certain style guidelines. The ESlint extension integrates code linting into VScode.

9. Autoprefixer

This is a very useful VScode extension for CSS. It helps ensure that vendor prefixes are added to certain CSS properties to easily ensure browser compatibility.

10. CSS percent

This is a useful extension that helps convert your pixel units to their equivalents in percent.

11. Intellisense for CSS

This ensures you don't have to type class names in full as it brings up suggestions/auto completion based on earlier defined class names in your workspaces

12. Settings sync

Let's assume you need to work on a different machine, but it lacks all your favourite VScode snippets, themes, extensions,key bindings etc. Settings sync fixes this. You can have the same configuration on your local machine saved and reused anywhere you find yourself. Amazing right?

13. HTML to CSS

This extension generates CSS class names and structure based on how they're defined on your HTML. You don't have to worry about defining class names all by yourself, this extension helps you focus on the code and predefines those clasess for your HTML structures.

14. Refactor CSS

This helps you remember reoccurring class names and comninations in your CSS file and provides useful suggestions and auto complete.

15. Highlight matching tag

This is useful when working with a large HTML code base. It is often natural to forget where a certain HTML tag closes even if you properly comment your code. This extension helps you find if and where a certain tag closes.

Honorable mentions

There are a few other amazing and useful VScode extensions that you should definitely also install. For example, I personal installed snippets for everything I work with (Bootstrap snippets, font awesome snippets, bulma snippets, react snippets, HTML snippets, CSS snippets, Javascript snippets, ES6 snippets, etc). This enables you input code faster and takes time away from having to remember or write them in full.

You may also want to activate some of the built in VScode features to enable speed and productivity, features such as, auto save and git.
Auto save takes a way the need to always "CTRL/CMD" + "S" before previewing changes, while Git ensures your can collaborate with other team members and manage commits right inside VScode.

Posted on by:

Discussion

pic
Editor guide
 

That's a really nice list. It would've been nice if there was a link to each extension. I'm using some of them (GitLens and ESLint). Will definitely take a look at the rest.

I've just released my own extension as well (a couple of days ago) for front-end developers. I've written a post about it.

 

I'll do well to add a link next time I make such a list 😣😣😣

 

Woah, I was looking for something like this. I've never worked with VScode before but due to starting a new job I'm now forced to. πŸ˜…

So thanks! Will def install some of them.

 

Glad I could help!!!!

 

JetBrains' IDEs are really awesome (I use Intellij at work and at home) but it's really expensive if you want something else than the community version or if you don't have a student/company license.