Awesome
Angular 2 Style Guide WebStorm Live Templates
Official Webstorm Live Templates Repository
Given that most of us use both an editor & an IDE, every effort will be made to ensure that templates / snippets are kept consistant between the offerings supported by the Style Guide Colaborators.
Other Supported Editors
- SublimeText Snippets & Completions maintained by @evanplaice & @mgechev
- Atom Snippets & Completions maintained by @d3viant0ne & @mgechev
- Visual Studio Code Snippets & Completions Needs a maintainer
Getting Started
Demos and Template usage guides can be found in the wiki
Installing the templates
-
Clone repo or download Angular2-StyleGuide-LiveTemplates.xml individual templates are also available here
-
Place the XML file in your templates folder : On OSX that would be ~/Library/Preferences/WebStorm{Version}/templates
-
Restart WebStorm
The first stable release will be pushed up to the JetBrains Plugin Repository
Customizing & Extending
While there is a commented section for custom additions to the templates, WebStorm/IntelliJ will reformat the XML file as soon as you edit a template & save.
I would highly suggest you commit customizations to a fork of this repo and copy the file into your templates folder. It will make picking up changes from ~HEAD much less painful.
More information on the topic can be found here