Hello,
When I have code rush enabled and I use the cleaup document function my access modifiers are sticking to the method and class definitions.
A space is missing after the modifier.
I have added a zip of a solution where I have the problem and added my Code rush setting + screenshots.
Hi DaanF,
Thank you for letting us know about the issue. I managed to reproduce it locally and passed this ticket to our R&D team.
We'll perform further research and reply here once we have any results.
In the meantime I suggest you disable the
Format Document
rule in theCode Cleanup
options as a workaround.To do so, go to CodeRush | Options | Editor | C# | Code Cleanup and unselect the checkbox next to the
Format document
rule.