Angular snippets for TypeScript and HTML in VS Code
open sourceMITfree
A Visual Studio Code extension by John Papa that adds snippets for Angular in TypeScript and HTML: type a prefix such as a-component, a-guard-can-activate or a-http-interceptor and it expands into the boilerplate for a component, directive, guard, pipe, module, route or HttpClient call. It's updated for each Angular release (Angular 22 at present). MIT licensed.
Problems it solves
- stop typing Angular component boilerplate by hand
- quickly scaffold an Angular guard or HTTP interceptor in my editor
- add lazy-loaded Angular routes without looking up the syntax
Features
- TypeScript snippets for components, directives, guards, pipes, routes and interceptors
- HTML template snippets
- updated for Angular 22
