Search code examples
angularjstemplatesintellisensewebstorm

Webstorm Angularjs Support


I am using Webstorm 8, which is the latest version. Jetbrains included angular support in this version. But I can't see any intellisense or any templates being added when we try to add File -> New Item related to angular such as controller, factory etc. Is there any option I need to set?


Solution

  • AngularJS plugin doesn't include any angular-specific file templates, so no Angular-specific actions are available in File/New. But it comes with a set of live templates you can use to create controllers, etc. - Settings/Live Templates/AngularJS See also http://www.jetbrains.com/webstorm/webhelp/creating-code-constructs-by-live-templates.html

    As for intellisense, it should work for specific HTML attributes as well as for controllers, directives and other stuff. Do you have angular.js file (uncompressed) in your project? see http://blog.jetbrains.com/webstorm/2014/03/angularjs-workflow-in-webstorm/ for some tips