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
}
Welcome to the TestComplete Feature Requests board!
Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.