Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshwiens/angular2-webstorm-templates
WebStorm Snippets and Completions for Angular2 for
https://github.com/joshwiens/angular2-webstorm-templates
Last synced: 26 days ago
JSON representation
WebStorm Snippets and Completions for Angular2 for
- Host: GitHub
- URL: https://github.com/joshwiens/angular2-webstorm-templates
- Owner: joshwiens
- License: mit
- Created: 2016-03-05T01:10:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-03-07T09:04:07.000Z (over 8 years ago)
- Last Synced: 2024-05-22T08:27:37.068Z (6 months ago)
- Homepage: https://github.com/mgechev/angular2-style-guide
- Size: 4.71 MB
- Stars: 57
- Watchers: 5
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ![Angular 2 Style Guide](https://raw.githubusercontent.com/mgechev/angular2-style-guide/master/assets/logo.png) Angular 2 Style Guide WebStorm Live Templates
[![Angular 2 Style Guide](https://mgechev.github.io/angular2-style-guide/images/badge.svg)](https://github.com/mgechev/angular2-style-guide)
[![Join the chat at https://gitter.im/mgechev/angular2-style-guide](https://badges.gitter.im/mgechev/angular2-style-guide.svg)](https://gitter.im/mgechev/angular2-style-guide?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)### 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](https://github.com/evanplaice/angular2-snippets) maintained by @evanplaice & @mgechev
- [Atom Snippets & Completions](https://github.com/d3viant0ne/angular2-atom-snippets) maintained by @d3viant0ne & @mgechev
- [Visual Studio Code Snippets & Completions](https://github.com/mgechev/angular2-style-guide/issues/15) Needs a maintainer#### Getting Started
##### Demos and Template usage guides can be found in the [wiki](https://github.com/d3viant0ne/angular2-webstorm-snippets/wiki)
##### Installing the templates
- Clone repo or download [Angular2-StyleGuide-LiveTemplates.xml](https://github.com/d3viant0ne/angular2-webstorm-templates/blob/master/angular2-templates-xml/Angular2-StyleGuide-LiveTemplates.xml) individual templates are also [available here](https://github.com/d3viant0ne/angular2-webstorm-templates/tree/master/angular2-templates-xml/individual)
- Place the XML file in your [templates folder](https://www.jetbrains.com/webstorm/help/project-and-ide-settings.html)
: 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](https://plugins.jetbrains.com)
##### 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](https://github.com/d3viant0ne/angular2-webstorm-templates/wiki)