Ununed includes

Answered

Clion has nice functionality that greyes out unused includes. For very large project, is it possible to list all such unused includes from every file to avoid opening and checking each file manually?

0
2 comments

Hello!

You can call Code | Run Inspection by Name (https://www.jetbrains.com/help/clion/running-inspections.html#run-one-inspection), search for Unused include directive, select it and then chose Whole project.

1

Thank you Anna :-) greetings

0

Please sign in to leave a comment.