ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Angular 2 Snippets (John Papa)

by pjlamb12 ST2/ST3

Sublime Text 3 Angular 2 Snippets and Code Completions

Labels snippets, angular2

Details

Installs

  • Total 45K
  • Win 27K
  • OS X 10K
  • Linux 9K
Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6
Windows 9 27 30 26 15 10 25 32 30 19 22 19 16 14 26 37 36 28 16 17 18 22 31 20 28 14 17 27 16 22 26 21 14 23 27 23 27 22 27 15 21 26 34 41 42 34
OS X 2 2 9 8 7 2 5 2 7 4 0 3 6 6 4 7 8 10 2 4 3 5 9 3 8 8 8 3 5 9 8 6 3 8 6 11 5 4 6 2 8 7 11 14 9 8
Linux 2 7 10 6 5 3 3 4 8 10 10 9 5 6 10 2 5 9 6 4 10 6 8 12 11 5 5 13 2 12 20 17 5 5 10 7 8 4 15 4 7 8 14 6 4 6

Readme

Source
raw.​githubusercontent.​com

Angular 2 Sublime Snippets and Code Completions

Sublime Text 3 Angular 2 Snippets and Code Completions

Installation

If you're using Package Control for Sublime Text, simply install the Angular 2 Snippets (John Papa) package.

Alternatively, you can clone this repository directly into your Sublime plugin folder and install the snippets manually as described below:

OSX

cd ~/Library/Application Support/Sublime Text 3/Packages
git clone --depth 1 https://github.com/pjlamb12/st3-ng2-snippets.git

Linux (may vary based on distro.)

cd ~/.config/sublime-text-3/Packages
git clone --depth 1 https://github.com/pjlamb12/st3-ng2-snippets.git

Windows

cd "%APPDATA%\Sublime Text 3\Packages"
git clone --depth 1 https://github.com/pjlamb12/st3-ng2-snippets.git

Note: If you are having trouble finding the correct location to install the snippets, refer to the documentation on the subject.

Available Snippets

  • ng2-bootstrap-dev: Angular 2 Development Bootstrap Snippet
  • ng2-bootstrap-prod: Angular 2 Production Bootstrap Snippet
  • ng2-component: Angular 2 Component Snippet
  • ng2-http-get: Angular 2 HTTP Get Snippet
  • ng2-http-post: Angular 2 HTTP Post Snippet
  • ng2-import: Angular 2 Import Snippet
  • ng2-on-changes: Angular 2 ngOnChanges Snippet
  • ng2-pipe: Angular 2 Pipe Snippet
  • ng2-root-component: Angular 2 Root Component Snippet
  • ng2-router-config: Angular 2 Router Config Snippet
  • ng2-service: Angular 2 Service Snippet
  • ng2-subscribe: Angular 2 Subscribe Snippet
  • ngCurrency: Angular 2 Currency Pipe Snippet
  • ngFor: Angular 2 ngFor Snippet
  • ngIf: Angular 2 ngIf Snippet
  • ngModel: Angular 2 ngModel Snippet
  • ngSwitch: Angular 2 ngSwitch Snippet
  • routerLink: Angular 2 routerLink Snippet

Credits

The list of available snippets above was auto-generated using the sublime snippet documenter available here: https://github.com/fhightower/sublime_snippet_documenter.