Open
Description
I use Rider a lot for F# development and there is a feature that I would love to have: Add type anotation for arguments.
For example, if I have the following function:
module Regex =
let replace pattern replacement input =
System.Text.RegularExpressions.Regex.Replace(input, pattern, replacement)
it won't compile because the compiler doesn't know which overload to choose based on the type of the arguments. I have to add the type anotation manually to at least one of the arguments:
module Regex =
let replace pattern (replacement: string) input =
System.Text.RegularExpressions.Regex.Replace(input, pattern, replacement)
And I don't necessarily want to add the type anotation for all arguments, just the ones that are missing.
So I would love to have a feature that would allow me to add the type anotation for a single argument, currently we can only add the type anotation for all arguments and to the function return type :
Metadata
Metadata
Assignees
Labels
No labels