Ask a Question

Code Completion for class methods

Code Completion for class methods

Hi would like to have code completion for class methods

this was mentioned before here and here also here but could not find a feature request

32 Comments
bgran05
Occasional Contributor

+1 Would really like this feature for Javascript.

ademin
Senior Member

I believe it was working in earlier versions, but it stopped.


 


 

Mathze
Regular 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
}

 

ryanterronez
Occasional Contributor

Has there been any movement on this?  It looks like people have been requesting this functionality since 2012...

GGuezet
Contributor

That would be great for Python too, it would start to behave as a IDE

Eleonora
Senior Member

any update regarding this one ? Nothing has been done since 2016 ?

lydincamilleri
Occasional Contributor

Required stuff

GGuezet
Contributor

Still nothing ?

Mathze
Regular Visitor

As far as I can tell, no 😞

lydincamilleri
Occasional Contributor
This is how scripting works in TestComplete apparently 😕 Last update is that this is not in scope for the product
Announcements
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.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here