For some reason whenever i split code between files, intellisense doesn't seem to like it so much.
So for example if i have a person object function, and a test function in the same class, intellisense will work, and i can see the FirstName and Surname properties.
function Person(firstName, surname)
/// <summary>This is a person class</summary>
/// <param name="firstName" value="string">The first name of the person e.g. Johnny</param>
this.FirstName = firstName;
this.Surname = surname;
var newPerson = new Person("fred", "jones");
If however i move the Person class from my aspx file into a seperate .js textfile, intellisense breaks.