views:

28

answers:

1

Hi. I have large solution with about 40 separate javascript files, which are referenced to web page via special js-service. I want to use new IntelliSense features in VS2010, but it is very hard to add about 40 individual references like this:

/// <reference path="../../lib/jquery-1.3.2.js" />

to each js file in solution. Maybe there is some way to reference all files in folder? I've tried something like this:

/// <reference path="../../lib/*.*" />

but it is not working... Thanks.

+1  A: 

You can select a bunch of them in Solution Explorer and drag them onto the editor of the JS file you want to use Intellisense.

It will automatically generate the /// tags based on the file you dragged.

Gary
No, I think about this, but it is very ugly solution.
mace