Forum Discussion
HKosova
8 years agoSmartBear Alumni (Retired)
Hi Saravana,
That combo box lists top-level functions only (those defined in the global context of a unit). You can submit an enhancement request here. There's also an existing feature request to add code completion for class methods.
- SaravanaKumar_N8 years agoContributor
Thank you. I will add this in the new feature thread.
Just noticed that even prototype function (JavaScript Project) as well not populated under the Routines list. JScript project prototype functions are listed.
Regards,
Saravana
- tristaanogre8 years agoEsteemed Contributor
Can you give an example of a prototype function in a JScript project that is showing in the drop down? I just did the following:
function testme() { function blah() { Log.Message('blah'); } this.me; this.who; this.whatever = function (){ Log.Message('what'); } }
And, as expected, only "testme" shows up in the drop down as that is a function that is declared globally on the unit.
- SaravanaKumar_N8 years agoContributor
Related Content
- 12 months ago
- 4 years ago
- 7 years ago
- 3 years ago