scrier
14 years agoContributor
Javascript autocomplete.
This is something I notices using the script editor that autcomplete doesn't fill in if you have variables in classes that you wan't to access. Is this doable by some addon or setting to get to work? Would greatly speed up using the script we build up for testing.
Example:
function main()
{
var foo;
this.bar = function funcBar()
{
do something.
}
}
var testMain = new main();
function test()
{
testMain.???
}
When using autcomplete in the editor I get ahold of testMain but when I add testMain. it is empty. I wan't to get ahold of bar or foo here to help further scripting.
Example:
function main()
{
var foo;
this.bar = function funcBar()
{
do something.
}
}
var testMain = new main();
function test()
{
testMain.???
}
When using autcomplete in the editor I get ahold of testMain but when I add testMain. it is empty. I wan't to get ahold of bar or foo here to help further scripting.