Is there a way to “hide” a JavaScript file from IntelliSense in Visual Studio 2008?

I have a third-party JavaScript plugin, but including breaks between IntelliSense files for jQuery. The only way to get IntelliSense back to work with jQuery is to comment out the plug-in. Is there a way to hide the plugin file from the IntelliSense parser?

+3
source share
4 answers

Service Pack 1 added the following feature:

If you are "anyfile.js" and "anyfile-vsdoc.js" in the same directory, then any links to "anyfile.js" are automatically converted to a link to "anyfile-vsdoc.js" backstage.

"-vsdoc" . "" javascript.

+9

aspx/master. , IntelliSense . ScriptManager.RegisterClientScriptInclude(..).

+2

, JavaScript, , .
JSLint .
: , , , MSDN: IntelliSense, .

+1

Since you mentioned jQuery, you can also load a nasty script at runtime.

$ getScript ("XXX.js") ;.

+1
source

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


All Articles