❔ What editorconfig setting would I use to force each property to a new line?
Which .editorconfig setting would I use to achieve the following:
For example, I would like Content, Source, and Sender to be on a new line?
2 Replies
I found
csharp_new_line_before_members_in_object_initializers
, but doesn't seem to be working.
dotnet_diagnostic.IDE0055.severity = warning
Like this correct?
Awesome, will try that thank you. There's no way to auto format it that way?
It worked great and showed me a warning, Rider didn't fix the formatting automatically though
I have dotnet format linting CI setup so that should work well
Thank you so much for your help @VSCore Professional Express 2024Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.