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

Angular 2 Snippets (John Papa)

by pjlamb12 ALL

Sublime Text 3 Angular 2 Snippets and Code Completions

Labels snippets, angular2

Details

Installs

  • Total 61K
  • Win 37K
  • Mac 13K
  • Linux 12K
Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25
Windows 0 0 0 2 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 3 1 1 0 1 0 1 0 0 0 0 3 1 0 1 0 3 0 0 1 0 0 2 1
Mac 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
Linux 0 3 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 2 1 0 0 1 0 0 0 1 0 0 1 1

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.