reference path re javascript intellisense
问题 I am trying to get intellisense in VS2008 in a js file, foo.js, from another js library/file I've written but cannot figure out the reference path ?syntax?/?string? The library is in a file called common.js which is in the same folder as foo.js I'm working on. Here's the paths I've tried... /// <reference path="../../scripts/common.js"/> /// <reference path="/../scripts/common.js"/> /// <reference path="../scripts/common.js"/> /// <reference path="/scripts/common.js"/> /// <reference path=