Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Angular Extension PackNew to Visual Studio Code? Get it now.
Angular Extension Pack

Angular Extension Pack

Will 保哥

duotify.com
|
234,219 installs
| (53) | Free
Popular Visual Studio Code extensions for Angular Development
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Angular Extension Pack

This extension pack groups Angular-focused extensions for language support, code generation, snippets, linting, and daily development tasks. The bundled extensions are installed automatically with the pack. If you have suggestions for new extensions or improvements, please open an issue.

Extensions Included

Angular-specific Tools

  • Angular Language Service
    • Angular template IntelliSense, diagnostics, quick info, and navigation.
  • Angular Schematics
    • Run Angular CLI schematics from the Explorer or Command Palette.
  • angular2-switcher
    • Quickly switch between an Angular component and its HTML template.

Angular Code Snippets

  • Angular Snippets (Version 22)

    • Angular component, template, routing, forms, HTTP, and RxJS snippets.
  • Angular 17 Snippets - TypeScript, Html, Angular Material, ngRx, RxJS & Flex Layout

    • Snippets for Angular, Angular Material, RxJS, NgRx, tests, and related tooling.
    • Use "editor.snippetSuggestions": "top" to prioritize snippet completions.

TypeScript Productivity

  • Auto Import
    • Suggests and inserts imports for symbols from project and package dependencies.
  • JavaScript (ES6) code snippets
    • Import and export
      • imp→ imports entire module import fs from 'fs';
      • imn→ imports entire module without module name import 'animate.css'
      • ime→ imports everything as alias from the module import * as localAlias from 'fs';
      • imd→ imports only a portion of the module using destructing import { rename } from 'fs';
      • ima→ imports only a portion of the module as alias import { rename as localRename } from 'fs';
      • enf→ exports name function export const log = (parameter) => { console.log(parameter);};
      • edf→ exports default function export default (parameter) => { console.log(parameter);};
      • ecl→ exports default class export default class Calculator { };
      • ece→ exports default class by extending a base one export default class Calculator extends BaseClass { };
    • Class helpers
      • con→ adds default constructor in the class constructor() {}
      • met→ creates a method inside a class add() {}
      • pge→ creates a getter property get propertyName() {return value;}
      • pse→ creates a setter property set propertyName(value) {}
    • Various methods
      • fre→ forEach loop in ES6 syntax array.forEach(currentItem => {})
      • fof→ for ... of loop for(let item of object) {}
      • fin→ for ... in loop for(let item in object) {}
      • anfn→ creates an anonymous function (params) => {}
      • nfn→ creates a named function const add = (params) => {}
      • sti→ set interval helper method setInterval(() => {});
      • sto→ set timeout helper method setTimeout(() => {});
      • prom→ creates a new Promise return new Promise((resolve, reject) => {});
      • thenCatch→ adds then and catch declaration to a promise .then((res) => {).catch((err) => {});
    • Console methods
      • clg→ console log console.log(object)
      • cdi→ console dir console.dir
      • clt→ console table console.table
  • refactorix
    • Applies source transformations such as semicolon changes, accessors, and arrow-function simplification.
  • Paste JSON as Code (Refresh)
    • Generates typed models and serializers from sample JSON data.
  • Document This
    • Generates documentation comments for JavaScript and TypeScript declarations.

Template Productivity

  • Enable VSCode built-in Linked Editing (Auto update tags) feature.

    "editor.linkedEditing": true
    

Code Analysis

  • ESLint
    • Integrates ESLint diagnostics and fixes into VS Code using the project's ESLint configuration.
  • Gremlins tracker for Visual Studio Code
    • Highlights invisible or visually ambiguous characters that can be difficult to detect in source files.

Workbench

  • EditorConfig for VS Code
    • Applies .editorconfig rules consistently across supported editors and projects.
  • Todo Tree
    • Finds TODO, FIXME, and other configured tags and displays them in a navigable tree.

Some other extensions you may need (Optional)

You need to install the following extensions manually.

  • Prettier - Code formatter
    • The code formatting is a subjective preferences. Your choice matters. I choose Prettier!
    • Setting: "prettier.singleQuote": true
      • We love single quote on strings. Isn't it?
    • Setting: "editor.formatOnSave": false
      • Prettier use AST to parse your source code so you can safely enable editor.formatOnSave setting.
    • Recommended reading: Setting up Prettier in an Angular CLI Project
  • Live Share
    • Real-time collaborative development from the comfort of your favorite tools.
  • Peacock
    • Subtly change the workspace color of your workspace. Ideal when you have multiple VS Code instances and you want to quickly identify which is which.
  • Output Colorizer
    • This colorize your messages in the Output/Debug/Extensions panel and all the *.log files.
  • angular2-inline
    • I don't use inline template at all. If you need it, you can install this extension. I don't like to mix HTML with TypeScript anyway.
  • Git Extension Pack
    • Popular Visual Studio Code extensions for Git version control
      • GitLens — Git supercharged
        • Setting: "gitlens.currentLine.enabled": false
      • Git Graph
      • gitignore
      • Open in GitHub, Bitbucket, Gitlab, VisualStudio.com !
      • GitHub Repositories
  • JavaScript Debugger
    • An extension for debugging Node.js programs and Chrome.
  • Wallaby.js
    • Integrated Continuous Testing Tool for JavaScript.
  • Quokka.js
    • Live Scratchpad for JavaScript.
  • NGINX Configuration Language Support
    • If you want to use ng-nginx snippet, you might want to install this extension for authoring nginx.conf file.
  • Material Icon Theme
  • VSCode simpler Icons with Angular
  • Nx Console
    • This let you spend less time looking up command line arguments. Really useful!
  • SCSS Formatter
  • SCSS IntelliSense

Other manual setup (Optional)

  • Recommended Editor Fonts Settings
    • English
      • "editor.fontFamily": "Fira Code, Consolas, 'Courier New', monospace"
        • Install FiraCode: Monospaced font with programming ligatures
        • The FiraCode provided a ligatures feature for your code which is pretty cool. You have to set "editor.fontLigatures": true to enabled it.
    • 繁體中文
      • "editor.fontLigatures": true
      • "editor.fontFamily": "Fira Code, 'Noto Sans CJK TC Medium', Consolas, 'Courier New', monospace"
      • Install Google Noto Fonts - Noto Sans CJK TC
      • Install FiraCode: Monospaced font with programming ligatures
    • 简体中文
      • "editor.fontLigatures": true
      • "editor.fontFamily": "Fira Code, 'Noto Sans CJK SC Medium', Consolas, 'Courier New', monospace"
      • Install Google Noto Fonts - Noto Sans CJK SC
      • Install FiraCode: Monospaced font with programming ligatures
  • Recommended Settings
    • "editor.minimap.renderCharacters": false
      • Enhanced minimap performance by disabling render characters in minimap.
    • "emmet.showSuggestionsAsSnippets": true
      • Treat all emmet suggestion as snippets can make all suggestions get sorted alphabetically.

Snippets Included

This extension contains supplementary code snippets to Angular Snippets (Version 22) & Angular 17 Snippets - TypeScript, Html, Angular Material, ngRx, RxJS & Flex Layout.

TypeScript snippets

  • main.ts (Standalone component)
    • ng-import-provideHttpClient: imports provideHttpClient from @angular/common/http
  • app.module.ts (NgModule compatibility)
    • ng-import-FormsModule: imports FormsModule from @angular/forms
    • ng-import-ReactiveFormsModule: imports ReactiveFormsModule from @angular/forms
    • ng-import-HttpClientModule: imports HttpClientModule from @angular/common/http
    • ngDoBootstrap: generates ngDoBootstrap() method for AppModule
  • app.module.ts (Angular Elements)
    • ng-import-elements: imports createCustomElement and Injector for Angular Elements
    • ng-elements: generates Angular Elements registration boilerplate for an AppModule

HTML snippets

  • a-ngSubmit: Angular Forms's ngSubmit event
  • a-formArrayName: Angular formArrayName
  • a-formGroupName: Angular formGroupName
  • a-routerLinkActive: Angular routerLinkActive="active"
  • a-routerLinkActiveOptions: Angular [routerLinkActiveOptions]="{exact: true}"

NGINX snippets

  • ng-nginx: NGINX configuration for Angular (nginx.conf)

Dockerfile snippets

  • ng-dockerfile: Multi-stage build for Angular and Nginx Dockerfile
    • Review the base images, build output path, and Nginx configuration for your project before use.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft