These set of extension for Visual Studio Code adds snippets of Typescript for
angular rapid development.
Snippet Prefixes
Prefix
Description
deloitte-angular
Angular class based template Snippets
del-
Angular partial snippets
deloitte-png
PrimenNg Snippets **Coming soon
Usage
Angular snippets starts with "deloitte-angular-" are complete classes template.
Angular snippets starts with "del-" are snippets only
Multiple snippets come in multiple variations.
Angular Typescript Snippets
Snippet
Description
deloitte-angular-service-CRUD-setup
To Add CRUD Angular Service with HttpClient with Rx Observable Generation Class
deloitte-angular-service-Subscribe
To Add Service Subscription Class Template
del-angular-component
Creates standard Angular2+ component template
del-angular-inline-Component
Creates standard Angular2+ component with inline template
del-angular-module
Creates standard Angular2+ module template
del-angular-http-interceptor
Creates HTTP interceptor(HttpInterceptor) for HttpClient
del-angular-http-interceptor-logging
Creates Logging interceptor
del-angular-http-error-interceptor
Creates HTTP Error Interceptor
del-angular-http-jwt-interceptor
Creates JWT Interceptor
Important
This extension is optimized for developers that use Angular and are no longer using AngularJS (Angular 1).This is by design and meant to help developers learn how AngularJS concepts and techniques map to Angular.
Requirements
Angular 7/8
Rxjs: 6.3.3
Installation (Mac)
Launch VS Code
Quick Open (⌘+P)
Enter the following command and press enter: 'ext install deloitte-angular-snippets'
Choose extension
Reload VS Code
Installation (Windows, Linux)
Launch VS Code
Quick Open (Ctrl-Shift-P)
Enter the following command and press enter: 'ext install deloitte-angular-snippets'
Choose extension
Reload VS Code
Disclaimer
Important: This extension due to the nature of it's purpose will create
files on your hard drive and if necessary create the respective folder structure.
While it should not override any files during this process, I'm not giving any guarantees or take any responsibility in case of lost data.