ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
849 stars 276 forks source link

No overloads match tooltip formatting could be improved #1977

Open MangelMaxime opened 5 months ago

MangelMaxime commented 5 months ago

Describe the bug

The formatting of the tooltip when reporting a "no overload match" can be improved.

I don't remember if they always where like that or if this is a regression.

Steps to reproduce

  1. Copy the snippet below in an F# file
type Test =

    static member log (value : string) = failwith "Not implemented"
    static member log (value : bool) = failwith "Not implemented"

Test.log 1
  1. Hover over Test.log

Link to sample reproduction

Expected behaviour

Screenshots

CleanShot 2024-01-15 at 16 32 25@2x

Machine info

Additional context

Add any other context about the problem here.