Front-end - WebStrom has the angularjs plug-in installed, but there is no syntax prompt
ringa_lee
ringa_lee 2017-05-15 16:49:17
0
7
822

Does it take building an angularjs project to use webstrom to prompt angularjs syntax? Why don’t I have any grammar tips?..

ringa_lee
ringa_lee

ringa_lee

reply all(7)
滿天的星座

If you have added the angular library before, then after opening the current project, go to the settings: Languages ​​& Frameworks -> JavaScript -> Libraries; you will see the angular and other related libraries you need on the right, tick them good.


If you haven’t added angular before, there is a very simple way:

  1. Add in head: <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script>
  2. After placing the mouse on this line of URL, you will find that a lightbulb will appear at the beginning of this line of code. After clicking it, the download option will appear. After the download is completed, the library will be automatically added to the current project
仅有的幸福

There is no AngularJS js file in your project, so there is no prompt. When WebStorm finds that your project directory contains AngularJS js files, there will be a ng-* prompt.

洪涛

You must place the angular.js file under the current project to activate the code prompt function.

大家讲道理

See if the syntax prompt is disabled. I can see it displayed normally. My webstorm version is 8 and my os is win7. I suggest you google it

巴扎黑

Ty80

Use the method in the picture below to solve the problem, webstorm version 11.0.3

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template