search

Home  >  Q&A  >  body text

Front-end - WebStrom has the angularjs plug-in installed, but there is no syntax prompt

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

ringa_leeringa_lee2802 days ago847

reply all(7)I'll reply

  • 滿天的星座

    滿天的星座2017-05-15 16:51:17

    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

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-15 16:51:17

    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.

    reply
    0
  • 为情所困

    为情所困2017-05-15 16:51:17

    reply
    0
  • PHP中文网

    PHP中文网2017-05-15 16:51:17

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

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-15 16:51:17

    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

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-15 16:51:17

    reply
    0
  • PHP中文网

    PHP中文网2017-05-15 16:51:17

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

    reply
    0
  • Cancelreply