Ask a Question

Editor intellisense and navigation does not work with declared objects

QT_David
Occasional Contributor

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







23 REPLIES 23
TanyaYatskovska
Community Manager

RE: Editor intellisense and navigation does not work with declared objects


Hi David,


 


The reason why TestComplete does not perform navigation to the function's declaration is that TestComplete's parser currently does not support routines declared in this way. However, we have an appropriate suggestion in our DB, and your request has increased its rating. Thanks.


 


BTW, despite this, the code should be executed fine (one note, TestComplete doesn't support IE's alert function).


 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
ekiza23
Contributor

RE: Editor intellisense and navigation does not work with declared objects

I would like to have the intellisense/code completion working for declared objects in VBScript too.



Could you increase the rating of that suggestion on my behalf?



Thanks.



TanyaYatskovska
Community Manager

RE: Editor intellisense and navigation does not work with declared objects


Hi Christian,


 


I've added your vote. Thanks!


 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
paul_grizzaffi
Occasional Contributor

RE: Editor intellisense and navigation does not work with declared objects

Please add my vote for this capability on JScript.



TanyaYatskovska
Community Manager

RE: Editor intellisense and navigation does not work with declared objects


Hi Paul,


 


I've added it. Thanks.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
jenli
Contributor

RE: Editor intellisense and navigation does not work with declared objects

Please add my vote for this capability on JScript too.

Thanks!

TanyaYatskovska
Community Manager

RE: Editor intellisense and navigation does not work with declared objects


Hi Jennifer,


 


Done.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
ashish_tyagi_1
Not applicable

RE: Editor intellisense and navigation does not work with declared objects

Hi, can you please add my vote to this as well.



It will be greatt if his can be implemented, it becomes difficult when you have a lot of cusotm classes and you quickly want to see the declaratin of the methods in them.





Regards,

Ash



TanyaYatskovska
Community Manager

RE: Editor intellisense and navigation does not work with declared objects


Hi Ash,


 


I've added your vote, as well. Thanks for your participation.


 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: