_references.js doesn't work

Hi. The visual studio's javascript intellisense understand this:

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

My _references.js file contains this:

/// <reference path="jquery-1.7.1.js" /> /// <reference path="jquery-ui-1.8.20.js" /> /// <reference path="jquery.validate.js" /> /// <reference path="jquery.validate.unobtrusive.js" /> /// <reference path="knockout-2.1.0.debug.js" /> /// <reference path="modernizr-2.5.3.js" />

And the intellisense works pretty well.
Resharper, however, doesn't understand the first line, and I have to add the other lines in every js file i create...

Look at the screenshot (sorry about pbrush :))

resharper issue.png

Any thoughts? Can i disable resharper's intellisense for javascript? Or can you solve this in any other way?

Thanks :)

Please sign in to leave a comment.