Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 bad auto completion in 2094

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000