cancel
Showing results for 
Search instead for 
Did you mean: 

Editor intellisense and navigation does not work with declared objects

Highlighted
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
Highlighted
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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
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.



Highlighted
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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

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

Please add my vote for this capability on JScript.



Highlighted
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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Contributor

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

Please add my vote for this capability on JScript too.

Thanks!

Highlighted
Community Manager

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


Hi Jennifer,


 


Done.

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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
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



Highlighted
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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors