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
 Insert #include
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jmatthias
Senior Member

26 Posts

Posted - Apr 04 2006 :  3:03:37 PM  Show Profile  Reply with Quote
It would be cool if VA could help insert #includes, something like this...

Your cursor is on CFoo
You need to include Foo.h in the current .cpp
So you tell VA to add a reference to the include file for the current symbol.
VA adds a #include "Foo.h" after the last #include in the file.
OR if that too much work, just put #include "Foo.h" in the copy buffer so I can go paste it.

At the moment I have to go to the definition of CFoo so that I can see what the name of the .h file and then go back to the .cpp file and manually type #include "Foo.h" Then I have a file open that I don't need so I close it.

If you add this I will name my next child Visual Assist Matthias

Thanks, Joel Matthias

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 04 2006 :  4:25:30 PM  Show Profile  Reply with Quote
this has been requested before

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:40:25 PM  Show Profile  Reply with Quote
case=226 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