Open HugoRoss opened 2 years ago
Thanks for reporting the issue. I believe this may be related to a breaking change in the underlying SDK that occurred with the launch of VS2022 (and affected VS2019 as well). There's more information on #879 including a link back to Roslyn where the SDK bug was reported.
Is there a way to disable modifiers re-ordering while this get fixed?
Hello,
we have the same problem. the IDE integrated cleanup mechanism (which is the correct one) sorts members differently than codemaid. So codemaid sorting is wrong and to be fixed please. Or at least give us an option to setup or disable the modifier sorting. Anyways, any cleanup mechanism of codemaid should be configurable.
Environment
Description / Steps to recreate / Current behavior
I experience the following issue:
I have a class that defines a property like this:
and an
.editorconfig
that defines the modifier sort order like this (which is nothing fancy - I think it is the recommended default sort order):Now CodeMaid reorganizes it to
and I get a compile error (because of my strict definition of rule violations as errors in
.editorconfig
).Expected behavior
.editorconfig
travelling up the directories should be respected.