AsmDude2: Hover does not render Markdown
HJLebbink opened this issue · comments
When you hover over a mnemonic, Visual Studio sends a request to the LSP for information on the mnemonic. The LSP responds with a string containing Markdown formatting. The Visual Studio LSP client (https://www.nuget.org/packages/Microsoft.VisualStudio.LanguageServer.Protocol.Extensions, v17.2.8) receives the response but renders the popup incorrectly as plain text instead of Markdown.
To document my posts:
-
31st August 2023: after spending several days attempting to fix this, I turned to Stack Overflow for assistance. I was fully aware that I might not receive a quick response, as the likelihood of the few individuals on this planet who possess this knowledge stumbling upon my post on Stack Overflow by chance is quite slim. https://stackoverflow.com/questions/77015711/popup-hover-with-markdown-from-a-language-server-protocol-lsp
-
12 september 2023: I asked on a Microsoft Q&A website whether their LSP Extension implemenation (v17.2.8) supports Markdown. https://learn.microsoft.com/en-us/answers/questions/1366606/does-the-language-server-provider-(lsp)-client-for. I received a prompt and helpful response advising me to inquire on the LSP forum. I found it a bit unusual because those individuals are primarily responsible for the protocol, rather than the implementation for visual studio.
-
13 september 2023: I followed the suggestion and inquired on the GitHub repository for the LSP if they had any pointers microsoft/language-server-protocol#1809 (comment). One of the principal developers was kind enough to inform me that he had no clue but mentioned that the LSP implementation SHOULD indeed support Markdown.
-
13 september 2023: I send a message to the owners of the package Microsoft.VisualStudio.LanguageServer.Protocol.Extensions. I had low hopes; no response yet...
-
5 oktober 2023: asked a question on VSExtensibility, see here