Recommended VS Code Extensions for Angular Developers
Tags: webdev, vscode, javascript, angular
Published: 2019-03-28 12:43:11

---
title: Recommended VS Code Extensions for Angular Developers
published: true
description: Recommended VS Code Extensions for Angular Developers
tags: webdev, vscode, javascript, angular
cover_image: https://thepracticaldev.s3.amazonaws.com/i/24ka6v928d6p42lu7b6l.jpg
canonical_url: https://johnpapa.net/rec-ng-extensions/
---

I am often asked, "What are you favorite VS Code extensions for Angular?". This post covers my most often used VS Code extensions for Angular development.

> The right tool for the right job.

We hear this a lot. When we use good tools, our development lives become so much more efficient. I created an extension pack that makes it easy to get them all by installing this one extension.

While there are other notable and excellent extensions, this list is what I maintain (and it is fluid) in an extension pack. The coolness of an extension pack is that you can install a set related of extensions all at once.

## Angular Essentials

You can get them all most easily by installing my [Angular Essentials extension pack for VS Code](https://marketplace.visualstudio.com/items?itemName=johnpapa.angular-essentials&wt.mc_id=devto-blog-jopapa).

- Click [here to install them all](https://marketplace.visualstudio.com/items?itemName=johnpapa.angular-essentials&wt.mc_id=devto-blog-jopapa) from the extension pack

... or ... You can also install each of these one by one, if you don't want all of them.

### Included Extensions

Here is the list of extensions the pack includes, in alphabetical order:

- [Angular Inline](https://marketplace.visualstudio.com/items?itemName=natewallace.angular2-inline&wt.mc_id=devto-blog-jopapa) - This extension extends the javascript and typescript languages to add Angular2 specific features for inline templates and stylesheets. When you define an inline template or inline style sheet using the back-tick character  the content will be processed by this extension.

- [Angular Language Service](https://marketplace.visualstudio.com/items?itemName=Angular.ng-template&wt.mc_id=devto-blog-jopapa) - This extension provides a rich editing experience for Angular templates, both inline and external templates. This extension is brought to you by members of the Angular team. It is fantastic at helping write solid code in the html templates.

- [Angular Snippets](https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2&wt.mc_id=devto-blog-jopapa) - Angular snippets that follow the official style guide, for TypeScript, templates, and RxJS.

- [Chrome Debugger](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome&wt.mc_id=devto-blog-jopapa) - VS Code debugger for Chrome.

- [Editor Config](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig&wt.mc_id=devto-blog-jopapa) - EditorConfig for VS Code. Great for maintaining consistent editor settings.

- [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=pkief.material-icon-theme&wt.mc_id=devto-blog-jopapa) Show material icons in the explorer

- [npm](https://marketplace.visualstudio.com/items?itemName=eg2.vscode-npm-script&wt.mc_id=devto-blog-jopapa) This extension supports running npm scripts defined in the package.json file and validating the installed modules against the dependencies defined in the package.json.

- [Peacock](https://marketplace.visualstudio.com/items?itemName=johnpapa.vscode-peacock&wt.mc_id=devto-blog-jopapa) This extension subtly changes the workspace color of your workspace. Ideal when you have multiple VS Code instances and you want to quickly identify which is which.

- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode&wt.mc_id=devto-blog-jopapa) VS Code plugin for prettier/prettier, which formats code consistently

- [tslint](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin&wt.mc_id=devto-blog-jopapa) - Adds tslint to VS Code using the TypeScript TSLint language service plugin.

- [Winter is Coming](https://marketplace.visualstudio.com/items?itemName=johnpapa.winteriscoming&wt.mc_id=devto-blog-jopapa) I like using the dark blue theme

## Debugging Angular in VS Code

The Chrome Debugger extension is excellent, and it enables you to debug front-end javascript in VS Code. You should set this up by [following this guide in the docs](https://code.visualstudio.com/docs/nodejs/angular-tutorial#_configure-the-chrome-debugger?wt.mc_id=devto-blog-jopapa).

tldr;

Add the configuration for `chrome`, as shown below, to your `launch.json`.

```json
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "chrome",
      "request": "launch",
      "name": "Launch Chrome against localhost",
      "url": "http://localhost:4200",
      "webRoot": "${workspaceFolder}"
    }
  ]
}
```

Then, run your angular app with `ng serve -o`, set some breakpoints in VS Code, and press `F5`.

## What Else

If you have ideas for what other extensions may be a good fit for Angular Essentials, please discuss them to the comments here or as an issue in GitHub.

I have some in mind that I'm currently evaluating ... including [Angular Console](https://marketplace.visualstudio.com/items?itemName=nrwl.angular-console&wt.mc_id=devto-blog-jopapa), which is extremely promising!