Static analysis of variable usage from Rider in CLion?
Answered
In Rider there are hints about usage of mostly everything but not in CLion; if I stop using a variable after a refactor, for example, said variable will be grayed out and Rider will hint me about it having zero usages, this also applied to methods and properties, but the same isn't present in CLion apparently. I have to manually check each and every variable and function to know if they're being used or not. I assume this has to do with the complexity of C++ but is this really not doable in CLion? Have the tips about how many usages a variable or function have.
Please sign in to leave a comment.
Hello,
Based on your feedback, I created a feature request with our developer to implement this in future CLion versions.
CPP-50914 Feature request: Display variable and function usage hints in CLion
Please vote or leave a comment. And you will be notified when the YouTrack ticket is updated.
I appreciate your understanding.