code completion for user-defined objects
We are writing test scipts in Jscript and we are implementing our objects in libraries that we access with //USEUNIT.
The problem is everytime we instantiate a new object from the test we don't get code completion for that object. Any help anyone could provide would be appreciated as the code completion functionality is very important to our development.
Here are snippets of what we are doing:
//------Library File
function SomeObject()
{
};
SomeObject.prototype.contructor = SomeObject();
SomeObject.prototype.open_control = function()
{
open_control();
};
function open_control()
{
//Do some stuff We are leaving the seperately defined function around for legacy scripts that still use a
non-object oriented approach.
}
And in the main file:
//-------Main File
//USEUNIT Library File
var MySomeObject = new LibraryFile.SomeObject();
MySomeObject. <- expecting autocomplete to pop-up here