Forum Discussion
This is a new feature in TC 12.31 to emulate IDE's like visual studio or NetBeans. I haven't run into the specific problem you have with typing in a quote and not getting the second one... that always works for me. I know some folks are irritated with this feature but, personally, I kind of like it.
Unfortunately, there's no way to turn it off currently. However, the request has been made and the folks from SmartBear have promised to take a look at improving this.
- ryanlloyd7 years agoSmartBear Alumni (Retired)
I have been trying to follow-up on this after SmartBear Connect since the question came up during the Q&A.
I would love to hear some concrete examples of when the scripting editor autocomplete features don't behave as you would expect. A quick video or a documented set of reproducible steps I can follow would be really helpful. I have found with IDE's, the auto completion of brackets/quotes is pretty typical and expected. If there are scenarios where it isn't working as expected in the TC Script editor, I'd like to track them down.
What I really want to understand is whether there are just a few bugs we need to fix with it, or if a global option to turn off these IDE-like features is really desired. I don't want to introduce an explosion of configurable options to tweak all the behaviors of the scripting editor and make it too complex of a user experience if it can be avoided!
Feedback welcome!
- tristaanogre7 years agoEsteemed Contributor
FYI, I'm currently in a development cycle adding some new code to my framework and the auto-complete of brackets and quotes is actually helpful for me. I'll confess, it took some getting used to since I don't have a lot of experience with other IDE's so, when I'm typing away in my old patterns from prior to TC 12.31, I would get tripped up. But now that I've had some time to work with it, it really is a time saver for me. Of course, that's just my opinion... others may disagree. YMMV
- Novari-QA7 years agoFrequent Contributor
I have attached a .wmv file showing it working in one file, and not working in another.
- cunderw7 years agoCommunity Hero
I had started a list a while back here: https://community.smartbear.com/t5/TestComplete-General-Discussions/Code-Editor-Issues-Improvement-Suggestions/m-p/147268
But to recap:
- Auto-closing of quotes and brackets should not occur when there is already text present directly to the right of text.
- Ex. if you have a string say foo, and you position the cursor to the left of f, and enter a quote or or bracket, the closing quote or bracket will be applied so you end up with ""foo or [[foo
- Cntrl clicking on a function parameter inside of a function will navigate to the top of the unit. Extremely frustrating copying and pasting parameters.
- Auto-Fill / Suggestions do not honor block or function scope.
- If start typing a variable or parameter name inside of a function the auto-suggestions display parameters and variables for functions outside of your current scope.
- Read in block comments for function documentation including description, parameter types and default values.
- Currently the only thing displayed is the parameter name and the type being object
- Allow global variables and classes to be supported by function selector and auto suggestions.
- Provide a built in format on save with something like JSLint
Alternatively, providing plugins for something like Sublime text would also be very beneficial.
- Novari-QA7 years agoFrequent Contributor
Not that I don't appreciate the effort Smartbear is doing to make this editor, to be honest I would love it if we can just utilize an already existing IDE. Something like sublime or visual code.
- Auto-closing of quotes and brackets should not occur when there is already text present directly to the right of text.
Related Content
- 8 months agovaibyendole