❔ Disable specific formatting rule only in one class in Rider
So, I have a class that is a bit pathological in that it has a bunch of one-liner declarations. Rider puts an extra newline between them which takes a ton of space and actually makes it harder to read.
I found that there's a setting for this "blank lines in declarations", but I only want this in this specific class, not anywhere else. Is it possible?
3 Replies
Local .editorconfig could work
But I haven't tried it... AFAIK, formatting cannot be disabled per file... only code inspections :/
Alright, thanks
Was 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.