Envano – Green Bay, WI

Best Visual Studio Code Extensions For Web Development

Why VS Code?

There are a lot of IDE and text editor options out there, but Visual Studio Code (VS Code) has become the editor of choice among developers. Introduced by Microsoft in 2015, it quickly surpassed old standards like Atom, Sublime and my personal favorite, NetBeans. 

Commonly referred to as VS Code to avoid confusion with its full-featured IDE cousin Visual Studio, it’s highly configurable via JSON files and has a rich ecosystem of extensions. Its integrated terminal makes managing Node.js and git processes a breeze. You can also sync your settings to keep the same familiar environment if you work on multiple machines and platforms. Did I mention that it’s free?

Extending VS Code

VS Code is particularly well suited for web development. According to Why VSCode, it “includes enriched built-in support for Node.js development with JavaScript and TypeScript, powered by the same underlying technologies that drive Visual Studio. VS Code also includes great tooling for web technologies such as JSX/React, HTML, CSS, SCSS, Less, and JSON.” It has an integrated terminal for managing Node processes and many other features.

Here is my current suite of VS Code extensions, grouped by category. I am always trying new things and tweaking my workflow, but these are the ones that have stood the test of time.

Utilities

These extensions help me to view and navigate within VS Code, regardless of file type or language.

Code Completion and Linting

Forget a semicolon? Don’t remember a built-in function name or method? These extensions help write and debug your code. They cut down on your visits to Stack Overflow, W3Schools and WordPress Codex.

Since my focus is web development, I deal primarily with web server and browser technologies, including HTML, CSS, JavaScript and PHP. I also depend on Extensions to support whatever Node libraries and JS frameworks are currently in style, such as React, Vue, Angular, jQuery, etc.

WordPress Snippets: WordPress currently holds the top spot in CMS marketshare and continues to grow. It is the CMS we most often offer our clients, and it is nearly impossible to work in an agency environment without regularly working on WordPress themes and customization. Plus, with WordPress 5x’s commitment to Gutenberg, VS Code support for ReactJS is a must.

Formatting

Can’t find the closing tag for a block of code? Have trouble figuring out where nested blocks end and the parent block continues? Unable to make sense out of someone else’s jumbled or minified code? These extensions help you format your code and make it human-readable. 

Inactive, but there when I need them:

I have several extensions that I only activate when I need them. I don’t work on Drupal sites very often, but when I do, I switch on Drupal and Twig extensions. Same with ViewJS or huge HTML files.

Bonus: Keyboard Shortcuts*

While it is possible to work in VS Code and never touch your mouse, I have found it difficult to remember the plethora of keyboard shortcuts to wean myself off the Explorer sidebar. Here is my current cheat sheet that I am slowly committing to memory. 

*Note: I do most of my coding on a mac, so you may need to look up Windows equivalents for some of these.

Summary

I am constantly testing and comparing new extensions and trying to improve my workflow. Several other extensions didn’t make this list that I am still evaluating. Want to know more? Explore the Visual Studio Marketplace and build an extension library that works for you!

Check out some of our other great developer articles on the Envano blog! Not finding what you’re looking for? Fill out our contact form and let’s chat!

Exit mobile version