[Rider F# Code Style] How to keep code inline
Answered
Hi
When writing in F#, I'm expecting code to be in a single line as much as possible, for example :
type Person = {FirstName:string; LastName:string;}
But when reformat, it becomes
type Person =
{ FirstName : string
LastName : string }
I go through the settings in F# code style, but limited options are provided(right margins doesn't work) and I'm unable to find where to configure this.
Any suggestion is appreciated.
Please sign in to leave a comment.
Hi,
Unfortunately, this formatting rule is not supported at the moment. I have created a feature request for it: https://youtrack.jetbrains.com/issue/RIDER-13868
Now I understand.
Thanks for your reply.