ASP.NET (MVC) jQuery Intellisense & # 8594; Error in ReSharper

I am working on an ASP.NET MVC project using jQuery.

I reference the jQuery VSDoc ( jquery-1.3.2-vsdoc.js) file to get Intellisense for jQuery in Visual Studio:

<% /* %><script src="~/Scripts/jquery-1.3.2-vsdoc.js"></script><% */ %>

Then a real-time analysis of Resharpers solutions (red / green symbol in the lower status bar on the right) complains about the closing comment (* /).

Is there any other way to include a VSDoc file without a Reshaper (v4.5) request?

+3
source share
2 answers

Visual Studio 2008 Visual Web Developer, -vsdoc.js, jquery-1.3.2.js( js, -vsdoc next .)

http://blogs.msdn.com/webdevtools/archive/2008/11/07/hotfix-to-enable-vsdoc-js-intellisense-doc-files-is-now-available.aspx

+6

script if. , intellisense VS, vsdoc -.

<% if(false) { %>
  <script src="../../Scripts/jquery-1.3.2-vsdoc.js"></script>
<% } %>
+3

Source: https://habr.com/ru/post/1710708/


All Articles