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
 Add correct namespace
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pogothemonkey
Senior Member

31 Posts

Posted - Jul 14 2006 :  09:12:37 AM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jul 15 2006 :  11:42:39 AM  Show Profile  Reply with Quote
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

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

support
Whole Tomato Software

5566 Posts

Posted - Jan 27 2009 :  10:39:47 PM  Show Profile  Reply with Quote
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.


Whole Tomato Software, Inc.
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