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
 Suggestion issues on auto/template-variables
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lac
Senior Member

30 Posts

Posted - Jun 14 2016 :  03:27:40 AM  Show Profile  Reply with Quote
Getting a little strange results on completion on auto-type variables, especially if the type is a template. In a reduced barebones solution i can reproduce as:



Notice that baseMember is omitted in the completion.

If the variable is has an explicit type, it works OK;;



In my large solution (100 projects), I was getting this rather odd result on an auto-typed variable (none of these methods are in the struct)



If I complete to 'assign' and press Alt-G I get this:



Problem is... boost/array.hpp is not included anywhere in my solution (although it could be included indirectly through other boost headers, but my pointer it definitely not related in any way to boost::array).

If I make the variable have an explicit pointer type (not auto), the problem goes away.

Visual Studio 2015 Update 2, VAX 2102.

Edited by - lac on Jun 14 2016 03:31:07 AM

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jun 15 2016 :  7:31:16 PM  Show Profile  Reply with Quote
For the listboxes, do you have:

VA Options -> Enhanced Listboxes -> Source of C/C++ content: Visual Assist OR Default Intellisense

for me, setting this to Default Intellisense, which is the default in VS2015, fixes this listbox problem. However, if you have changed this to Visual Assist, changing this setting may break something else.

I have put in a bug report for this:

case=98071

Alt-g, I think that since VA did not know what to make of "assign()" in this case it just guessed. So the same problem in a different guise.

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