FsAutoComplete icon indicating copy to clipboard operation
FsAutoComplete copied to clipboard

Descriptions showing "Microsoft.FSharp.Core.char"

Open dsyme opened this issue 3 years ago • 3 comments

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

image

dsyme avatar Oct 17 '22 13:10 dsyme

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?

baronfel avatar Oct 17 '22 13:10 baronfel

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 avatar Oct 17 '22 14:10 dsyme

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

dsyme avatar Oct 17 '22 14:10 dsyme