This Live Template Group for JetBrains products adds snippets for Angular 1 with ng-metadata for TypeScript.
based on @johnpapa vsCode snippets.
create component
create Module
Type part of a snippet, press tab
, and the snippet unfolds.
ng-bootstrap
ng-component
ng-directive
ng-pipe
ng-service
ng-module
ng-provide-d
ng-provide-s
ng-provide-st
ng-provide-p
ng-provide-c
ng-provide-v
Alternatively, press Ctrl+J
(Windows, Linux) or Cmd+J
(OSX) to activate snippets from within the editor.
There are two ways to do this:
- Store a copy of the
Angular1-ngMetadata-Snippets.xml
file in the corresponding templates folder. - Follow the instructions under To paste the live templates