[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.

0
2 comments

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

1
Avatar
Permanently deleted user

Now I understand.

Thanks for your reply.

0

Please sign in to leave a comment.