Both Rider, ReSharp and Visual Studio “reformat and cleanup ” can't perform code style.
I found “cleanup” can't perform code style as convention in Rider, ReSharp and VS. Is anything wrong of my actions?

I created a simple solution for testing:


Rider Version I used: 2021.3.4 and 2024.1.3
May simillar to this thread: https://rider-support.jetbrains.com/hc/en-us/community/posts/4417358893714-Why-is-Reformat-and-Cleanup-not-reformatting-the-code
Please sign in to leave a comment.
Please have a check on Rider Code Cleanup usages.
Fixing inconsistent naming is not included in code cleanup because when batch-applied, it can lead to naming conflicts.
You can use Context Actions to apply the solution-wide renaming and handle naming conflicts manually if needed.