How do I enable Webstorm intellisense for AngularJS when writing CoffeeScript

后端 未结 3 611
轻奢々
轻奢々 2020-12-01 07:48

I have setup Webstorm to recognise and compile my coffeescript files.

I have installed the AngularJS plugin and can successfully write my controllers etc in plain o

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-01 08:21

    To fix the specific problem Unresolved variable or type angular you need to make sure the angular javascript libraries have been Enabled (see image below).

    You do this via the WebStorm settings:

    File -> Settings -> Javascript -> Libraries

    Managing Javascript Libraries

    Here is the relevant help section: Configuring JavaScript Libraries

提交回复
热议问题