First of all: credit where credit is due. All the credit goes to @johnpapa. I simply ported the snippets he created.
Type part of a snippet, press tab, and the snippet unfolds. Feel free to adjust this to your needs.
ng2-component-root
ng2-bootstrap
ng2-component
ng2-pipe
ng2-route-config
ng2-route-path
ng2-service
ng2-subscribe
ng2-ngClass
ng2-ngFor
ng2-ngIf
ng2-ngModel
ng2-routerLink
ng2-ngStyle
ng2-ngSwitch
There are two ways to do this:
- Store a copy of the Angular2-Snippets.xml file in the corresponding templates folder.
- Follow the instructions under "To paste the live templates"