C#C
C#3y ago
__dil__

❔ 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?
Was this page helpful?