Visual studio angularjs intellisense not showing up for some methods -
i receiving angular directives ng-app fine in html. intellisense working them.
i receiving intellisense angular methods so:
but other methods not receiving @ all, or wrong stuff.
what causing this? know module supposed receiving different intellisense.
i have friend phpstorm , receiving intellisense module method.
you should add angularjs reference ~/scripts/_references.js
. file configured searched references javascript intellisense engine default (tools > options > text editor > javascript > intellisense > references). open file , drag-and-drop angular.js file there (i assume have included in project). reference following
/// <reference path="libs/angular/angular.js" />
you can add references js file - you'll intellisence there.
Comments
Post a Comment