Does it take building an angularjs project to use webstrom to prompt angularjs syntax? Why don’t I have any grammar tips?..
ringa_lee
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:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script>
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
Use the method in the picture below to solve the problem, webstorm version 11.0.3