243 Views
When jQuery is used within an ASPX page or within a CSHTML page, intellisense works fine. If the same jQuery script is moved to a standalone javascript file, intellisense stops working. This is very frustrating for the developers. This post gives a tip of how to enable intellisense in standalone javascript files.
1 comments
dpeterson
10/3/2011 8:58:54 AM
I'm glad there's a solution, but that seems SO backwards. Most other IDEs would allows you to configure syntax highlighting like that from a preferences window. Now instead we have to remember to paste that line into all our .js files and stare at it for as long as we use VS to edit our javascript. Seems like an oversight on Microsofts part.