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

Angular 2 Snippets (John Papa)

by pjlamb12 ST2/ST3 Trending

Sublime Text 3 Angular 2 Snippets and Code Completions

Labels snippets, angular2

Details

Installs

  • Total 34K
  • Win 19K
  • OS X 8K
  • Linux 6K
Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1
Windows 9 49 33 25 32 28 9 26 37 33 26 27 20 21 23 33 18 40 36 39 25 19 39 43 47 42 44 20 13 36 39 44 43 46 10 28 35 43 43 47 46 30 30 43 44 27
OS X 1 16 20 10 11 10 11 6 9 8 10 15 15 8 9 7 11 10 11 13 11 7 7 12 6 10 10 6 11 15 10 8 12 12 5 7 13 17 9 15 8 8 14 9 19 12
Linux 2 16 19 14 14 20 6 4 12 10 7 9 10 6 6 8 10 14 12 7 10 5 7 12 18 6 10 8 10 7 18 8 4 10 8 4 7 10 16 14 19 9 10 16 8 18

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.