Problem
A Unity [Header] attribute exists, and then a field is created under it. Rider moves the field up onto the same line as the header.
Cause
Formatting set incorrectly.
Resolution
Tweak the Settings | Editor | Code Style | C# > Arrangement of attributes > Place property/indexer/event/attribute on the same line option.
NB: If any formatting rule seems off, it is possible to find it using the instruction below:
Configure formatting rules for selected code
Comments
0 comments
Please sign in to leave a comment.