locked
jQuery VSDoc Not Working... RRS feed

  • Question

  • I just installed Visual Studio 2011 Beta, downloaded and installed NuGet, then downloaded and put the jquery vsdoc.js file inside the same folder as my scripts.  I start typing $(document).ready(), and no intellisense.  As I remember, this method worked for 2010, but I'm getting no intellisense here.

    Thanks for any help.


    Sunday, May 20, 2012 6:25 AM

Answers

  • Hi GigaGreenGadget,

    Thanks for your post.

    Yes, your issue is a already a konwn issue to us,

    Please refer to this page:http://connect.microsoft.com/VisualStudio/feedback/details/727896/jquery-intellisense-doesnt-work-in-vs11

    "Hi, it's because Nuget update did not update Scripts/_references.js file. This js file contains all the JavaScript references that we implicit references for the current project. (You can see the setting ~/Scripts/_references.js through tools->options->Text Editors->JavaScript->IntelliSense->Reference, implict (Web) reference group.

    We're talking to Nuget package team to see if there is a way to update the _references.js file as well."

    "The workaround is to change the content inside Scripts\_references.js file to make it referencing JQuery.1.7.1 instead of the old version.

    i.e. change
    /// <reference path="jquery-1.6.2.js" />
    to
    /// <reference path="jquery-1.7.1.js" />"

    "We will fix it for next release", so please try the solution listed there and waiting for our next release.

    Thanks for understanding.

    Best regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

    • Proposed as answer by Barry Wang Monday, May 21, 2012 8:54 AM
    • Marked as answer by Barry Wang Wednesday, May 30, 2012 6:58 AM
    Monday, May 21, 2012 8:54 AM