F# Code Templates

Are code templates coming for F#?  At the moment I just want a constructor thrown onto record types that takes the upper-camel-case field names and creates a method with lower-camel-case parameters like this:

type CommandLineArgs =
{
Switch : char option
SwitchValues : string list
}
static member create switch switchValues =
{CommandLineArgs.Switch = switch; SwitchValues = switchValues}

 

 

0
1 comment

Hi Eric,

There is an issue on Rider's tracker for that: https://youtrack.jetbrains.com/issue/RIDER-9051. But it has not been scheduled for any release yet.

K. r.

Sofia

0

Please sign in to leave a comment.