fsharp
fsharp copied to clipboard
[FSharp.Editor] Tooltips are broken in project file but not in script file, and message shown twice.
This is what Visual Studio 2022 shows in a script:
This is what Visual Studio 2022 shows in a code file which is in a project:
- the format in project file is broken
- in both cases, the same information is shown twice with no added information
I think, it's technically not a bug, but a workaround of Roslyn bug when it wasn't displaying some errors during diagnostics and we had to duplicate them in other place.
https://github.com/dotnet/fsharp/pull/15982
@0101 we should probably revert it.
Thought might be something different of course.
@smoothdeveloper in which version of VS are you seeing this?
Sorry I should have mentioned, 17.8.
The duplicate message has been around for a while AFAIR, and the carriage return in tooltips in projects, I can't really attest as I'll most often face it in a script or not spend too much time.
But it remains important to fix it IMO, the messages with carriage return stripped aren't more legible, even if the tooltip is going to take a lot of space.
I don't see the doubling in 17.9, but the difference in formatting is there:
The formatting is not a tooltip issue: