/angular-livetemplates

AngularJS live templates for Jetbrains IDEs

Primary LanguageJavaScriptMIT LicenseMIT

angular-livetemplates

AngularJS live templates for Jetbrains IDEs like IntelliJ IDEA, PhpStorm or WebStorm.

Templates

Installation

Installation is currently just possible by hand. JetBrains IDEs provide an integrated Import/Export functionality which is based on JAR files. However, it is not possible to exports a custom subset of all live templates. Hints for a better workflow are appreciated.

  1. Open Settings
  2. Editor → Live Templates
  3. Select Section AngularJS
  4. Click the + button
  5. Define a Abbrevation and Description
  6. Paste the appropriate live template into Template text
  7. Check box "Reformat code according to style" (optional)
  8. Select context JavaScript → Statement
  9. Hit Apply and start using it!