/jetbrains-angular1-snippets

JetBrains Angular 1 + ngMetadata Typescript snippets

MIT LicenseMIT

Angular 1 + ngMetadata Typescript Snippets for JetBrains products

This Live Template Group for JetBrains products adds snippets for Angular 1 with ng-metadata for TypeScript.

based on @johnpapa vsCode snippets.

create component

Use Extension

create Module

Use Extension

Usage

Type part of a snippet, press tab, and the snippet unfolds.

TypeScript Snippets

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.

Installation

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