I would like to be able to disable RedundantNameQualifier for certain cases. Specifically I want a Static variable to ALWAYS be qualified by the class name.

How would I do this?

I do NOT like the comment-based disabling of this on a case-by-case basis. I much prefer enforcing the rule properly, in a manner that can be shared with my teammates, but I just haven't figured out how to do it with R#.

1 comment
Comment actions Permalink

Hello Richard,

I'm afraid at the moment there's no way to disable RedundantNameQualifier
for static members only. You're welcome to add a feature request at
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
"Develop with pleasure!"



Please sign in to leave a comment.