ionide / FsAutoComplete

F# language server using Language Server Protocol
Other
412 stars 154 forks source link

Descriptions showing "Microsoft.FSharp.Core.char" #1029

Open dsyme opened 1 year ago

dsyme commented 1 year ago

Working in a simple script I'm seeing this - note Microsoft.FSharp.Core.char:

image

baronfel commented 1 year ago

Very odd - I know at one point we had logic for stripping these out. In any case this should be fairly easy to at least locate. Does it happen with hover tooltips as well, or just method signature tooltips?

dsyme commented 1 year ago

I verified it happens in-project too, so it's not specific to scripts.

It's just for the parameter type - in this case char[] - which is actually being shown at a very awkward place.

In the above case I expect the FSharpDisplayContext is not being provided correctly - somehow it is turning up empty

(Aside: We should unify all the type formatting code in FsAutoComplete with the FCS implementation)

dsyme commented 1 year ago

I looked around FsAutoComplete and couldn't work out which bit of code is formatting that particular line.