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 42K
  • Win 25K
  • OS X 10K
  • Linux 8K
Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7
Windows 30 27 23 21 15 12 30 37 32 27 28 26 12 27 14 40 34 26 18 26 25 27 22 30 35 13 20 25 25 34 38 30 14 29 29 32 38 36 34 21 27 33 26 31 38 29
OS X 9 8 4 3 5 2 5 10 8 7 4 10 5 11 3 5 9 6 5 4 7 11 7 5 13 4 3 3 13 6 4 12 5 4 10 8 8 10 9 5 2 11 9 14 3 3
Linux 9 4 11 6 3 6 6 8 5 10 12 6 9 8 3 11 6 7 5 2 11 7 12 17 8 6 0 6 14 9 12 6 5 11 8 13 13 9 9 6 4 12 8 10 11 8

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.