Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Add correct namespace

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
pogothemonkey Posted - Jul 14 2006 : 09:12:37 AM
I am currently working with managed code in c++ and it would be nice to just let VAX add the correct using directive at the top of the file.

E.g. i am writing somewhere in the file

Hashtable* table = new Hashtable();

After calling the function VAX has added the following line at the top of the file

using namespace System::Collections;


optionally it could remove all occurences of System::Collection anywhere in the file as they have now become extraneous.



Similarly it would be nice to be able to prepend the namespace to the class or method

e.g.

Collections::Hashtable* table = new Hashtable();


becomes

Collections::Hashtable* table = new Collections::Hashtable();


thanks
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jan 27 2009 : 10:39:47 PM
VA and Visual Studio each do this already for managed code.

case=226 for native C/C++ is implemented in build 1715
Hover over an unrecognized symbol and choose "Add include xxxx" from the refactoring context menu.

feline Posted - Jul 15 2006 : 11:42:39 AM
the same suggestion, for C++ #include files came up a while ago. this is on our list of things to look into, but not currently a high priority.

case=226

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