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
 Namespace completion
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lac
Senior Member

30 Posts

Posted - Jun 07 2016 :  03:39:12 AM  Show Profile  Reply with Quote
I found that the completion options for enums in namespaces do not include the required namespace prefix:



In this context, the valid completions would be Foo::Bar::Red, Foo::Bar::Green, etc.

Further, it would be really cool if you could begin typing "Gre" in this context, and VAX would still add the require scope resolution (I.e. complete to Foo::Bar::Green). Currently you have to first complete the scope resolution (Foo::Bar::) before you can get completion on the enum members.

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Jun 08 2016 :  11:31:46 PM  Show Profile  Reply with Quote
Which IDE and version of VA are you using? Testing this with VS2015 and VA 2098, with the same code, just renamed slightly to make sure I have unique names, the namespace is being included in the suggestion, and inserted correctly when I do this.

zen is the art of being at one with the two'ness
Go to Top of Page

lac
Senior Member

30 Posts

Posted - Jun 10 2016 :  01:27:49 AM  Show Profile  Reply with Quote
VS2015 Update 2 + VAX 2098
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Jun 10 2016 :  11:21:37 AM  Show Profile  Reply with Quote
There seems to be something odd going on here, but I am not sure what yet. If you reload your solution, do you still get this problem? Or do you get the namespace included in the suggestion?

I am testing VS2015 Update 2 with VA 2102, and previously tested this with VA 2098. I can occasionally reproduce this, but after an IDE restart I always get the namespace included in the listbox. Which is odd, so I am wondering if the same pattern holds for you.

zen is the art of being at one with the two'ness
Go to Top of Page

lac
Senior Member

30 Posts

Posted - Jun 12 2016 :  05:16:58 AM  Show Profile  Reply with Quote
Nothing changes for me if I load/reload/restart solution/Visual Studio. Still no namespace context.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Jun 13 2016 :  7:19:25 PM  Show Profile  Reply with Quote
Do you have the time to test this in a new, default solution? Clearly something is going on here, but for me the effect is fragile, and keeps on disappearing. So I am wondering what the key difference is between your system and mine.

zen is the art of being at one with the two'ness
Go to Top of Page

lac
Senior Member

30 Posts

Posted - Jun 14 2016 :  03:05:53 AM  Show Profile  Reply with Quote
I just rechecked (although the above was also) in a fresh Win32 Console project, all default settings. Same issue.

VAX 2102.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Jun 14 2016 :  2:38:27 PM  Show Profile  Reply with Quote
That is a little confusing. Would you be able to send me your test solution, along with your IDE and VA settings? I can then test the same solution here, with the same settings, and see if I get the same behaviour. Your test solution should be the same as the default solution I tested here, but I did not get the problem here.

At this point I am assuming there is some key difference between your system and mine, but I am not sure what that difference or setting might be. Hopefully this will help. If you can do this, you can export your settings via:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

zen is the art of being at one with the two'ness
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 15 2016 :  8:43:59 PM  Show Profile  Reply with Quote
I was able to reproduce the problem here. Thank you for taking the time to send in the test project.

case=98073
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 18 2016 :  10:39:47 PM  Show Profile  Reply with Quote
case=98073 is fixed in build 2107.
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