[Angular] Templates for create controllers, factories and modules

Posted . Visible to the public.

Funciona no WebStorm e também no Idea, já testei

  1. Download the https://github.com/johnpapa/angular-styleguide/blob/master/assets/webstorm-angular-file-template.settings.jar?raw=true
  2. Open WebStorm / Idea and go to the File menu
  3. Choose the Import Settings menu option
  4. Select the file and click OK
  5. In a JavaScript file type these commands followed by a TAB:
ng-c // creates an Angular controller
ng-f // creates an Angular factory
ng-m // creates an Angular module
Ferran
Posted by Ferran to ZeroGlosa (2015-07-09 17:48)