Language-server-protocol: Change the type of Diagnostic.message to MarkedString

Created on 2 Jun 2017  路  2Comments  路  Source: microsoft/language-server-protocol

Currently, diagnostic messages do not carry any formatting information, this forces clients to be conservative when displaying them, see https://github.com/Microsoft/vscode/issues/22239 and the proposed solution:

Going forward. Deprecate the current way diagnostics are rendered and make them work just like the regular hover: a Markdown string which defaults to a non-monospace font but still lets language feature providers open up monospace code blocks with triple back quotes.

diagnostics feature-request

Most helpful comment

This is still something that would vastly improve the experience.

All 2 comments

We could the same that we did for CompletionItems and make this a client capability.

This is still something that would vastly improve the experience.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ooxi picture ooxi  路  3Comments

stamblerre picture stamblerre  路  5Comments

Razzeee picture Razzeee  路  4Comments

svenefftinge picture svenefftinge  路  5Comments

andfoy picture andfoy  路  6Comments