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
 find missing/needless includes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

daThomas
Junior Member

15 Posts

Posted - Nov 18 2008 :  07:30:34 AM  Show Profile  Reply with Quote
Hi,

VA seems to have all information of classes and symbols defined in different header files. I would love to have an option of proposing a list of includes needed for a file.
In large projects i often have the problem of getting a list of modules i depend on. As includes "grow" during development, there may be

a) includes, i dont need anymore
b) missing includes which are accidentally included indirectly

To find these includes to finally have all neccessary ones is time consuming. VA could return such a list easily i could imagine.

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Nov 18 2008 :  08:54:17 AM  Show Profile  Reply with Quote
We are considering a feature to suggest missing include files:

case=226

To find and remove includes that are no longer needed, personally I just tend to comment them all out (select them and press /) and then compile the file and see what breaks

This is not something I do very often.

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

daThomas
Junior Member

15 Posts

Posted - Nov 18 2008 :  09:00:00 AM  Show Profile  Reply with Quote
I do the same up to now :)

But as i wrote, i fail to find the following scenario:

file A includes B and uses C. B includes C.

everything works fine but i do not find out that i have a direct dependency to module C just by looking at my includes.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 27 2009 :  10:24:01 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