How do automatically fix up code that does not adhere to my coding standard?

I have rules in place that say parameters should start with an underscore. Resharper is correctly detecting that Foo does not start with an underscore (as evidenced by the dotted green line under it). How do I now make Resharper fix that parameter? How do I make it do so for an entire file or set of files? And how do I make it do so for an entire project?

2 comments
Comment actions Permalink

Sorry, there's no bulk naming fix this. This is tracked in https://youtrack.jetbrains.com/issue/RSCPP-20226.

0
Comment actions Permalink

But you can fix only this parameter using common ReSharper machinery for quick fixes: press Alt + Enter on 'Foo' and the first item of context menu should be "Rename to '_Foo'".

0

Please sign in to leave a comment.