2

I am searching a way to have jquery IntelliSense in html files in VS2012.

I followed this post to setup Intellisense on external js libraries. It works fine for .cshtml, .aspx, .js files but it doesn't work on .html files.

Any suggestion is welcome.

Andrew Barber
  • 39,603
  • 20
  • 94
  • 123
Gilles F
  • 121
  • 9

1 Answers1

0

Try adding a link to the direct files rather than a references file. Add the jquery files to the same directory most of the other default files are in and add a reference in that location for the files.

Intellisense doesn't work for JavaScript in Visual Studio 2012

Also make sure all your intellisense options are checked in general settings and in the javascript intellisense sections of tools - Options

Community
  • 1
  • 1
DRobertE
  • 3,478
  • 3
  • 26
  • 43