Editor intellisense and navigation does not work with declared objects
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2012
11:15 PM
09-25-2012
11:15 PM
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
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2019
11:02 AM
08-01-2019
11:02 AM
Tanya,
You mentioned there is an appropriate suggestion in your DB? Could you please link me to where I can find your suggested workaround? Please add my vote on this feature as well.
Thanks,
Riley
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2019
11:18 AM
08-01-2019
11:18 AM
Tanya was referring to the database where our requests are tracked, not a workaround.
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2019
12:56 PM
08-01-2019
12:56 PM
Understand... you're replying to a post that is 7 years old... likely things have moved on since then.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2019
01:02 PM
08-01-2019
01:02 PM
No worries! I actually found the solution I was looking for here:
Seems like a good way to import functions from a "Library" script, and it allows you to see those functions with Code Completion.
-Riley

- « Previous
- Next »
- « Previous
- Next »