Mathze
6 years agoRegular Visitor
Are there any news for this Feature Request?
Btw. if you implement this, please also make it available for "real" JavaScript in combination with the "require()" function. For example having a ScriptUnit "Test.js" with this content
class Test { constructor() { Log.Message("Creating Test class instance"); } bar() { Log.Message("Calling bar"); } } module.exports.Test = Test;
TC 12 do not show autocompletion for functions of class if I write code like
let test = require("Test"); function main() { let testClassInstance = new test.Test(); // here autocomplete already work for the exported object "Test" testClassInstance.bar(); // here it doesn't }