code reformat keeps switching file scope namespace to block even when set to be file scope
Under the C# Syntax style > code body > namespaces I have it set to File-scoped and notify as a suggestion.. and under code cleanup > profiles > my custom profile I have the syntax styles > C# > Arrange namespaces (file-scoped vs block-scoped) checked.
I've switched a while ago all my files to file scoped and suddenly I'm getting green squiggles under my file scope namespaces even though that's what it's set for and when I save (auto format is on) or do a code cleanup formatting it switches it back to block namespaces..
Why is this happening?
I'm using ReSharper 2022.2.3 in VS 2022 Enterprise
Please sign in to leave a comment.
Hi Brian,
thank you for contacting us.
Could you please send us a sample project where we can reproduce the issue? You could submit ner request here: https://resharper-support.jetbrains.com/hc/en-us/requests/new?ticket_form_id=66432 or in YouTrack: https://youtrack.jetbrains.com/issues/RSRP
Thank you!