Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

javascript intellisense doesnt work in VS 2013

$
0
0

im trying to get javascript intellisense working in VS 2013 but its now showing intellisense for the .js file that i wrote

i have Scripts folder at the root project. Inside the Scripts folder i have _references.js file. In the same scripts folder i have common.js file with bunch of utility functions. VS automatically adds reference to common.js inside _references.js file as below

/// <reference path="common.js" />

Then inside the scripts folder i have admin.js at following location

Scripts/Areas/Users/admin.js

To get intellisense in admin.js so i can use utility functions, i added reference to _references.js like below ( actually VS automatically add reference when i drag & drop _references.js into admin.js)

/// <reference path="../../_references.js" />

i restarted VS, but i still i cant see any function from common.js. Note that if i directly reference common.js in admin.js then i get intellisense for utility functions.

i have already tried solution mentioned here


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>