Closed Darkle closed 7 months ago
I would consider this a compiler bug. Some new error message are "semi-formatted" (including newlines). I don't think they should be.
Some additional context; it doesn't seem to happen in .fsx files: https://discord.com/channels/196693847965696000/524660202864377896/1229726085546119200
The character is a UnicodeCategory.ParagraphSeparator so I guess, it is a preformatted diagnostic as stated by @Martin521
On fs
files it is a ParagraphSeparator
but a regular \n
on fsi
files.
From what I see, it's directly coming from "F# Compiler" diagnostics https://github.com/ionide/FsAutoComplete/blob/bc827fb748e9b38615dda6f51732072e56bfdb1f/src/FsAutoComplete/LspServers/AdaptiveServerState.fs#L485-L488
A few questions :
ParagraphSeparator
properly or is also impacted by this issue ?)Good investigation @MrLuje! I think we can approach this in a few places:
Describe the bug
Unusual characters are appearing in the vscode tooltips when using Ionide.
Steps to reproduce
asd
in your codeScreenshots
Machine info
Additional context
https://discord.com/channels/196693847965696000/524660202864377896/1157997202128519188