Sublime Text 3 Angular 2 Snippets and Code Completions
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:
cd ~/Library/Application Support/Sublime Text 3/Packages
git clone --depth 1 https://github.com/pjlamb12/st3-ng2-snippets.git
cd ~/.config/sublime-text-3/Packages
git clone --depth 1 https://github.com/pjlamb12/st3-ng2-snippets.git
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.
ng2-bootstrap-dev
: Angular 2 Development Bootstrap Snippetng2-bootstrap-prod
: Angular 2 Production Bootstrap Snippetng2-component
: Angular 2 Component Snippetng2-http-get
: Angular 2 HTTP Get Snippetng2-http-post
: Angular 2 HTTP Post Snippetng2-import
: Angular 2 Import Snippetng2-on-changes
: Angular 2 ngOnChanges Snippetng2-pipe
: Angular 2 Pipe Snippetng2-root-component
: Angular 2 Root Component Snippetng2-router-config
: Angular 2 Router Config Snippetng2-service
: Angular 2 Service Snippetng2-subscribe
: Angular 2 Subscribe SnippetngCurrency
: Angular 2 Currency Pipe SnippetngFor
: Angular 2 ngFor SnippetngIf
: Angular 2 ngIf SnippetngModel
: Angular 2 ngModel SnippetngSwitch
: Angular 2 ngSwitch SnippetrouterLink
: Angular 2 routerLink Snippet
The list of available snippets above was auto-generated using the sublime snippet documenter available here: https://github.com/fhightower/sublime_snippet_documenter.