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
 Feature Requests
 Better suggestions for C++ enums inside classes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jschultz
Junior Member

24 Posts

Posted - May 10 2012 :  09:21:14 AM  Show Profile  Reply with Quote
Consider a class like this:


class Foo
{
   enum Bar { baz };
   void foobar(Bar bar) { ... }
}


Imagine I want to call foobar() from outside the class. In that case, I will have to call foobar(Foo::baz), i.e. I have to explicitely state the class name to address an enum member. However, Visual Assist's autocomplete only suggests "baz" in this case, not "Foo::baz".

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 11 2012 :  6:05:01 PM  Show Profile  Reply with Quote
I'm getting the following, using VA 1905:



Are you getting different result? What Visual Assist version are you using?

Edited by - accord on May 11 2012 6:05:15 PM
Go to Top of Page

jschultz
Junior Member

24 Posts

Posted - May 11 2012 :  6:31:23 PM  Show Profile  Reply with Quote


Using build 1682 here. Has anything regarding this issue changed in Visual Assist since then?
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 14 2012 :  7:37:09 PM  Show Profile  Reply with Quote
It seems so

This is from Change History: (http://www.wholetomato.com/support/history.asp)
Improved Smart Suggestions for C++ enums. (case=65011, case=65199, case=65374) 5857
Go to Top of Page

jschultz
Junior Member

24 Posts

Posted - May 14 2012 :  7:40:27 PM  Show Profile  Reply with Quote
Great, seems like all the fixes that are important to me are made shortly after my license runs out... ;)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - May 15 2012 :  11:00:00 PM  Show Profile  Reply with Quote
Unfortunately this happens occasionally. We work hard to fix bugs and add useful new features, but we cannot please everyone at once. If you have a normal, renewable licence key renewing will only cost $49 dollars, and gives you another year of bug fixes and new features.

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