Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 feature request for include completeness test

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
daThomas Posted - Mar 29 2006 : 09:25:01 AM
Hi,

with the symbol database it should be possible to test a file for missing includes. you could check all class names and look for the include of the corresponding h-file. there may be problems with
'using namespace' and things like that but a first version should not be too har to implement.
would be a great feature to avoid missing includes that were included by an already existing include in the origiginal version of the file.
2   L A T E S T    R E P L I E S    (Newest First)
daThomas Posted - Mar 30 2006 : 01:09:36 AM
There may be many special cases like preprocessor statements, macros, scope problems and other stuff. But what about a first version testing
a) includes that are not needed
b) missing includes
c) information about lines of code that not so easy to decide

one could work them through and would have a good feeling. You could insert a rule to just apply the feature to code that compiles error and warning free. by this way, it would be easy to get rid of indirect includes.
support Posted - Mar 29 2006 : 1:30:29 PM
Interesting idea, which we've considered previously. The trick is getting it right.

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