F# Intellisense - Show Method Signature?
Does Rider not support F# method signatures? Say I have this function:
let foo (name : string) (displayName : string) : string =
When I go to call foo, I can't remember the order of the strings. Is my only option hovering the cursor over foo until the pop-up signature appears?
Please sign in to leave a comment.
Hi,
When you type "foo|", press a shortcut to call smart type completion popup https://www.jetbrains.com/help/rider/Coding_Assistance__Code_Completion__Smart.html#examples-of-smart-completion,
or type foo(|) and call Parameter Info popup via the shortcut (https://www.jetbrains.com/help/rider/Coding_Assistance__Parameter_Info.html).
Also, one can use Quick Definition action called via a shortcut when your caret is on a function call (https://www.jetbrains.com/help/rider/Quick_Definition.html).
The c# style, above line pop-up only appears on the first parameter if you wrap with parenthesis. I usually need help with the 3rd or 4th parameter, not the first.
There's a number of ways of getting parameter info, but they all involve returning your cursor or the caret to the method name. That kills efficiency.
Hi Eric,
There is a request for that: https://youtrack.jetbrains.com/issue/RIDER-23865. Please feel free to upvote to subscribe for updates.