Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 bad auto completion in 2094
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

somgui
New Member

3 Posts

Posted - Apr 19 2016 :  08:57:19 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Apr 19 2016 :  11:29:24 AM  Show Profile  Reply with Quote
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?

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000