Is it possible to auto-cleanup things not available in the cleanup profile?
The Code Cleanup tool does some really cool stuff with vars and usings and reformatting. Is there a way to auto-apply other quick-fix suggestions? For example, convert all
string foo = "unchanged";
to
const string Foo = "unchanged";
That example might be bad because that's actually two rules: unchanged primitives to const and const variable names to uppercase. But anyway is this type of thing possible?
Please sign in to leave a comment.
Hello,
Currently, there's no such 'Batch apply all <xxx>' action in ReSharper. It can be dangerous to blindly apply all suggestions, since it may break the compilation or change the logic in several scenarios.
Thanks.