Forum Discussion

QT_David's avatar
QT_David
Occasional Contributor
13 years ago

Editor intellisense and navigation does not work with declared objects

In my (JScript) test scripts would like to use objects in this way (which runs fine in TestComplete) to e.g. for namespacing.



var MyFunnyClass = { 

    Alert: function( time, message) { 

        alert();

    }

};



MyFunnyClass.Alert();



However the editor intellisense and navigation (Ctrl-click on method) does not work with this. Is there any plans to make it work or any workarounds I could use?



BR, David







  • +1 for JScript

    Not critical though, as instead of keeping all objects declaration in one file, we could simply create new script corresponding to each object and keep them in just one folder.

  • Please add my vote to this suggestion for all scripting languages.

    Having intellisense capability would be a big improvement.

    Thanks!

    Daniel