Search code examples
angularjswebstormcode-completion

WebStorm 11 code completion for Angular


I have been using WebStorm for Angular project, I do not get any IDE support let say defining controller as following

enter image description here

I have checked that both Angular and AngularTemplates plugins are enabled at Settings | Plugins menu.


Solution

  • In Settings -> Languages and Frameworks -> JavaScript -> Libraries click on the download button and try adding the Angular library. Then back to your code right click anywhere inside and the on the use JavaScript Library option select Angular or any other library

    adding js libraries to webstorm

    choosing js libraries in webstorm