Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Auto-insertion of #include for STL containers?

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
studoot Posted - Feb 20 2009 : 09:23:43 AM
Doesn't seem to work, even though it does for other symbols (very well done - nice work!).

Steps to replicate:

Add a new C++ Source File to a C++ project. Type a line like

std::vector<int> a;


The refactor context-menu doesn't ever have the 'Add Include' member, whether I invoke it over std, vector, int, a or any of the symbols.

Adding text like this:

int fn()
{
   printf("test");
}


and invoking the refactor menu over 'printf' does show 'Add Include'.

It doesn't make any difference if I put the declaration of a in fn - I still don't get the Add Include option.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 20 2009 : 12:21:53 PM
I am seeing the same effect here for std::vector, thank you for the clear description.

case=23430

Hopefully this will be fixed in the next build of VA.

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