dotnet / fsharp

The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
https://dotnet.microsoft.com/languages/fsharp
MIT License
3.89k stars 784 forks source link

Intellisense tooltip for local functions should show argument names #7080

Closed Happypig375 closed 2 years ago

Happypig375 commented 5 years ago

Is your feature request related to a problem? Please describe. A function defined globally has its argument names shown in Intellisense tooltip, but not for functions in functions.

image image

Describe the solution you'd like Argument names should appear for functions in functions.

Describe alternatives you've considered Nah

Additional context Nope

psfinaki commented 2 years ago

Reopening to keep the track of the other case we still need to work on:

do
    let func x = ()
    ()
vzarytovskii commented 2 years ago

Reopening to keep the track of the other case we still need to work on:

do
    let func x = ()
    ()

If it fixes the case described in the original issue, we probably should close it and open a separate one for the one in 'do'. If not, let's leave it open.