Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Suggestion issues on auto/template-variables

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
lac Posted - Jun 14 2016 : 03:27:40 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 15 2016 : 7:31:16 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000