JetBrains Rider
 
2024.2
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Code inspection: Incorrect line breaks (multiple type members on one line)

Last modified: 26 May 2024

This inspection verifies code formatting rules.

The inspection helps to avoid associating a wrong value or behavior with a certain member. This is especially crucial when signatures are very long and less likely to scroll to the end of the line:

https://resources.jetbrains.com/help/img/rider/2024.2/formatter-members-on-one-line.png
Gif