JetBrains Rider
 
2024.3
Get 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.3/formatter-members-on-one-line.png
Gif