Skip to content
John Papa's snippets for sublime text
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
messages
LICENSE
README.md
messages.json
ng2-bootstrap.sublime-snippet
ng2-component-root.sublime-snippet
ng2-component.sublime-snippet
ng2-directive.sublime-snippet
ng2-guard-can-activate-child.sublime-snippet
ng2-guard-can-activate.sublime-snippet
ng2-guard-can-deactivate.sublime-snippet
ng2-guard-can-load.sublime-snippet
ng2-http-get.sublime-snippet
ng2-httpclient-get.sublime-snippet
ng2-module-root.sublime-snippet
ng2-module-routing.sublime-snippet
ng2-module.sublime-snippet
ng2-ngClass.sublime-snippet
ng2-ngIf.sublime-snippet
ng2-ngModel.sublime-snippet
ng2-ngStyle.sublime-snippet
ng2-ngSwitch.sublime-snippet
ng2-pipe.sublime-snippet
ng2-route-path.sublime-snippet
ng2-routerLink.sublime-snippet
ng2-routes.sublime-snippet
ng2-service.sublime-snippet
ng2-subscribe.sublime-snippet

README.md

Angular (2nd Generation) TypeScript Snippets for SublimeText

These snippets have been migrated from john papa's Visual Studio Snippets

Usage

Start typing ng2 in files with these extensions: .js, .ts, .html (for directives html snippets)

TypeScript Snippets

ng2-bootstrap
ng2-component-root
ng2-component
ng2-directive
ng2-guard-can-activate-child
ng2-guard-can-activate
ng2-guard-can-deactivate
ng2-guard-can-load
ng2-http-get
ng2-httpclient-get
ng2-module-root
ng2-module-routing
ng2-module
ng2-ngClass
ng2-ngIf
ng2-ngModel
ng2-ngStyle
ng2-ngSwitch
ng2-pipe
ng2-route-path
ng2-routerLink
ng2-routes
ng2-service
ng2-subscribe

###Directives (HTML) Snippets

ng2-ngClass
ng2-ngFor
ng2-ngIf
ng2-ngModel
ng2-routerLink
ng2-ngStyle
ng2-ngSwitch

Installation

Currently, download a zip or clone this repo to your sublime's User directory.

You can’t perform that action at this time.