T O P I C R E V I E W |
somgui |
Posted - Apr 19 2016 : 08:57:19 AM Auto-completion is a great feature in general, but it shouldn't interfere in case if full code is typed as-is. I have a simple case that's so annoying that I even opted to disable VA. Default auto-completion from VS works perfectly in this case by the way.
if I literally type this text:
data[position] because of VA I end up with double closing square bracket at the end. Default auto-completion from visual studio correctly detects that I manually typed closing bracket at the end and doesn't double it. |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Apr 19 2016 : 11:29:24 AM Which IDE and version of VA are you using?
That is not supposed to happen. When you type the closing bracket, VA is designed to know and remember that you typed the opening bracket, so the auto inserted closing bracket is replaced with the bracket you type, giving you this line of code.
Typing this works correctly for me, with VS2015 and VA 2094.
Are you tying this in one go, without using backspace or delete? Are you changing lines, and then coming back to this line after typing something else on another line?
I am looking for anything that might confuse VA, and leave you the double closing bracket.
For now, does leaving VA enabled, but turning off the option:
VA Options -> Editor -> insert () and closing } ) ] ' "
help? |
|
|