Forum Discussion
I don't think so... I think "Enter" is the only keystroke that it allows to select the completed item. And, as far as I know, there's not a keyboard mapping that can be altered for this. I could be wrong in that respect, but I haven't found one yet.
- slecault7 years agoContributor
I have noticed the same after mixed upgrades (Windows10 and TestComplete 12.30).
After a few verifications, this looks like an issue with TC12.30.
Windows 7 with TC 12.20, both [Tab] and [Enter] complete the code (of corse i usually used [Tab] !)
Windows 7 with TC 12.30, only [Enter] completes the code.
Windows 10 with TC 12.30, only [Enter] completes the code.
Can SmartBear confirm this is an issue?
- jmassey7 years agoContributor
Oh wow, you're right, slecault. My main work system is Win10, and I just recently upgraded to 12.30 (because I wanted the supported Python version bump). One of my test VMs is Win10, too, and still has 12.20 installed on it. Just checked and, sure enough, Tab works to complete there. Glad I wasn't just imagining it.
While I was at it, I tested another feature that seems to have been oddly frustrating only recently and, sure enough, same thing - in 12.30 but not in 12.20, typing a parenthesis or quote will automatically generate the complementary paren / quote. This is handy in editors like e.g. Notepad++ where, if you still accidentally type the closing paren yourself out of habit, it just advances the cursor a character silently, but in TestComplete's editor, it adds an extra one, so you then have to delete it. It's also annoying when you intend to keep typing after closing the paren or quote on the same line (which is pretty frequently), since you have to arrow over to get the cursor in the right place anyways. It doesn't really save any keystrokes and adds errors more than prevents them. I wish I could find a way to turn this automatic 'helpful' behavior off, as well, but I don't see anywhere in the options to do so.
- tristaanogre7 years agoEsteemed Contributor
As far as I know, there are no options to turn on or off these new features to the code editors. Would be worth suggesting it as a feature request either here or directly.
In the meantime, typing the paren, quote, brace, etc., is a feature I actually find very useful. It took me a bit to get used to it because I'm used to typing the closes myself, but now that I've gotten the hang of it, it does actually save me a bit of hassle. Such is the case with most new things... it takes a bit to get into the swing of it.
As for Tab versus Enter... I've always used "Enter", never "Tab" so, again, it's a matter of getting used to something... although, a change in behavior that is not documented somewhere is not necessarily good. Again, as mentioned, potentially suggest it as a feature request or even report it as a bug.
Related Content
Recent Discussions
- 14 hours agojstaehlin
- 2 days agoAivanitskiy