Forum Discussion
Hi ShaunPenn -
I would suggest taking a look at this code-completion documentation here: https://support.smartbear.com/testcomplete/docs/scripting/code-editor/code-completion.html
From my understanding TestComplete is not keeping track of where the various functions have been invoked and basing the suggestions on that information.
Let me know if there are further questions.
Emma
- ShaunPenn4 years agoNew Contributor
Thanks ebarbera
I have checked the Code-Completion, but still no clue. This issue appears not relevant to Code-Completion
Here is another example in attached screenshot, the popup shows function 'toolbar_saveClose'
1. In current script, I have not USEUNIT the script containing function 'toolbar_saveClose', and as expected, I am not able to find the function 'toolbar_saveClose' in Code-Completion dialog of current script. So it is hard to believe that I 'triggered' a code-completion of function 'toolbar_saveClose'.
2. I don't even know what it is (I call it code-peek for now). what is the official name of that Yellow-Popup ?
- mikef4 years agoStaff
Hi ShaunPenn
This is part of Code Outlining.
You can turn it off by clicking anywhere in the built-in IDE and click Outlining > Stop Outlining.
Once you collapse a method outline, you can hover over the ellipsis "[...]" to show a preview of the collapsed method.
Hope this helps
Mike
- ShaunPenn4 years agoNew Contributor
thanks mikef
so the yellow pop is actually the method preview when hover on the [...]
Normally, when you triggered a method preview, it is very easy to close it, by just hovering out of that [...]
In my case, in Script-A, somehow I triggered a preview of method in Script-B, and the only way to close it is to click anything out of TC window, that is why it is annoying, sometimes, I have to do this several times in just one minute.
it looks like the Code Editor unexpectedly detect [...] out of current tab, and for now the workaround seems to be
1. close all rest tabs in my Code-Editor
2. expand all methods (eliminating all [...]), so method preview would not be triggered
Related Content
- 8 years ago
- 12 years ago
- 4 years ago
- 5 years ago
- 11 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago