Bug 459591 - LSP tooltip hint misses some symbols
Summary: LSP tooltip hint misses some symbols
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-24 09:36 UTC by kndevl
Modified: 2022-10-02 20:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (89.89 KB, image/png)
2022-09-24 09:36 UTC, kndevl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kndevl 2022-09-24 09:36:02 UTC
Created attachment 152381 [details]
Screenshot

SUMMARY
I use the haskell language server on a simple haskell file - https://invent.kde.org/-/snippets/2360 

The tooltip does not render the symbol `<|>` but the LSP Diagnostics panel displays this correctly.

STEPS TO REPRODUCE
1. Set up haskell language server and make a new file called Main.hs with contents from the linked snippet
2. Hover over the error on line 28

OBSERVED RESULT
The tooltip says "No expected implementation for 'empty' and ''"

EXPECTED RESULT
The tooltip must say "No expected implementation for 'empty' and '<|>'"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux
KDE Frameworks Version: 5.97
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Comment 1 Eric Armbruster 2022-09-25 07:24:42 UTC
We recently had a patch that changed displaying of tooltips to Markdown. This should fix the issue you are seeing. At least <|> is displayed correctly for me with this patch. If you can, please check out the latest git master.
Comment 2 Eric Armbruster 2022-09-25 07:26:22 UTC
Please note, markdown tooltips are only supported if the Haskell LSP server has this capability.