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 'using' directive in C#
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hans de Rijck
Starting Member

1 Posts

Posted - Nov 28 2006 :  08:31:59 AM  Show Profile  Reply with Quote
Hello,

It's very nice to be able to use VA-X in both C++ and C# contexts. What I miss is the possibility to automatically add a 'using' directive in C# when a class in an undefined namespace is used.

Example:
I add the statement:
Thread.Sleep( 1000 );

the compiler now complains that the Thread class is unknown:
The type or namespace name 'Thread' could not be found (are you missing a using directive or an assembly reference?)

It would be very nice if VA-X would now offer the possibility to automatically add a 'using System.Treading;' directive.

regards,

Hans de Rijck.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Nov 28 2006 :  10:39:47 AM  Show Profile  Reply with Quote
This has been requested before, and is something we are considering adding at some point.

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:35:44 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