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
 Autocomplete weirdness: C++ bool
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

macross
New Member

3 Posts

Posted - Aug 19 2011 :  09:57:04 AM  Show Profile  Reply with Quote
Repro steps (build 10.6.1854.0):

In a C++ module type the following

bool bContinue(false);

Now type

bC

At this point the autocomplete suggestion box suggests "bContinue". When you select "bContinue" from the suggestion box, what is actually provided is "bContinue()".

"bContinue()" is incorrect here and it is a bit of a pain to now remove the superfluous "()" each time this happens.

Also, the colouring seems to suggest that VA is treating "bContinue" as a function instead of a type.

What I have tried so far was setting Quick Config back to the defaults and rebuilding the symbol database but this didn't help.

For me this is an issue on VS2008 SP1 and on VS2010 SP1.

I finally rolled back to build 10.6.1850.0 and found that I could no longer repro the issue, autocomplete worked as expected! Installed build 10.6.1854.0 and the issue was again reproducible.

Anyone else seeing this?

Cheers.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 19 2011 :  2:41:37 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=59478

Yes, it's definitely a regression. For now, you may want to turn off

VA Options -> Advanced -> Corrections -> Insert () and closing } ) ] ' "

which will turn this behavior off (but even for "real" functions).

Sorry for the inconvenience.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Aug 25 2011 :  01:55:36 AM  Show Profile  Reply with Quote
case=59478 is fixed in build 1856

Whole Tomato Software, Inc.
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