Converting to AngularJS
已回答
I started a static web project and decided after the fact that I want to include AngularJS in the project. I have the AngularJS plugin installed and the library installed with everything working properly. However, I can't seem to get AngularJS code assist to come on. Is there something that I need to change in settings?
Many thanks,
Charles
请先登录再写评论。
Do you have angular.js file (debug version, uncompressed) in your project? Normally it's enough to get Angular directives, etc. recognition working. See http://blog.jetbrains.com/webstorm/2014/03/angularjs-workflow-in-webstorm/, 'Include angular.js in Your Project' section. See also http://blog.jetbrains.com/webstorm/2014/07/how-webstorm-works-completion-for-javascript-libraries/
Elena:
Thank you for your response. I had figured it out early this morning. I had to add the bower_components/angular.js into the JavaScript library.
Thanks,
Charles