cancel
Showing results for 
Search instead for 
Did you mean: 

Editor intellisense and navigation does not work with declared objects

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
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 Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
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.



Community Manager

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


Hi Christian,


 


I've added your vote. Thanks!


 

---------
Tanya Gorbunova
SmartBear Community Manager

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

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

Please add my vote for this capability on JScript.



Community Manager

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


Hi Paul,


 


I've added it. Thanks.

---------
Tanya Gorbunova
SmartBear Community Manager

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

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

Please add my vote for this capability on JScript too.

Thanks!

Community Manager

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


Hi Jennifer,


 


Done.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
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



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 Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2
Top Kudoed Authors