Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Add 'using' directive in C#

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
Hans de Rijck Posted - Nov 28 2006 : 08:31:59 AM
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.

2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jan 27 2009 : 10:35:44 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 - Nov 28 2006 : 10:39:47 AM
This has been requested before, and is something we are considering adding at some point.

case=226

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