Fixing the numerous "unused include" issues

In YouTrack there seem to be multiple issues regarding Resharper C++ reporting "unused include" where the include is actually required.

Some of them did not receive a status update for months. Examples:

https://youtrack.jetbrains.com/issue/RSCPP-18672 

https://youtrack.jetbrains.com/issue/RSCPP-19033 

https://youtrack.jetbrains.com/issue/RSCPP-13867 

https://youtrack.jetbrains.com/issue/RSCPP-13571 

https://youtrack.jetbrains.com/issue/RSCPP-13422 

https://youtrack.jetbrains.com/issue/RSCPP-13218 

Before adding any other feature it would be nice to have these fixed.

Are there any plans on doing so?

 

2 comments
Comment actions Permalink

Hello Frank,

We'll try to dedicate some time to fix issues in the unused includes analysis during the next release cycle. If you find this inspection is wrong too often on your codebase, you can disable it completely in inspection settings.

Thanks!

0
Comment actions Permalink

Hello Igor,

thanks for the quick response.

I would just like to add that unused include analysis is a feature that we really appreciate!
It helps us to remove unnecessary dependencies and sometimes to improve compilation times.

However, with too many false-positives people tend to disable the feature and silence the warnings.

Thats why we are looking forward to the fixes.

0

Please sign in to leave a comment.