Rider IDE Formatting

Upload id: 2023_02_09_29bv6HSL6zMCWsRs9WEKcZ (file: Screenshot 2023-02-09 100858.png)

How do I stop Rider IDE, (when using code reformat) to stop moving variables on the same line as [Space()] and [Header()] fields.

See attached photo.

If you add space below it then use code reformat it moves it up as seen in the picture.

 

Also, when submitting topics here, Rider is not an option in the select menu.

0

Hello Justin Z,

Thank you for contacting Rider forum.

There are two settings in Preferences | Editor | Code Style | C# | Line Brakes and Wrapping -> Arrangement of Attributes. Set on Keep Existing Arrangement of attributes if you want not to change the place of attributes. Also, you can set the Place field attribute on the same line to never for auto-format.

I hope this helps! Should you have any questions, let me know.

0

请先登录再写评论。