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 50K
  • Win 30K
  • OS X 11K
  • Linux 10K
Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8
Windows 4 8 13 8 15 17 13 17 8 9 16 11 17 15 16 13 16 24 18 21 14 26 7 5 11 17 15 21 18 12 7 14 12 21 24 23 12 14 15 28 25 19 13 11 15 14
OS X 0 3 1 3 4 2 4 6 0 0 4 4 3 3 1 7 5 7 5 2 2 2 6 1 4 9 4 4 4 2 2 5 3 7 6 3 1 2 10 5 4 3 8 2 4 2
Linux 0 4 4 5 7 5 6 5 4 1 11 4 8 5 4 3 4 11 3 6 3 5 3 0 5 8 3 4 8 6 5 3 5 3 8 8 4 6 7 8 5 6 4 2 2 5

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.