Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedding HTML in diagnostic message #67423

Closed
wongjiahau opened this issue Jan 29, 2019 · 2 comments
Closed

Embedding HTML in diagnostic message #67423

wongjiahau opened this issue Jan 29, 2019 · 2 comments
Assignees

Comments

@wongjiahau
Copy link

At the moment, VSCode Diagnostic API only supports plain text error message.

But sometimes, I find that it might be useful if I can decorate some words in the error message, for example making the word bold or italics, especially when we want to describe certain identifiers are problematic. The common approach is to enclosed them with backtick.

To achieve this, we just need to allow user to embed HTML within the error message and let the error message UI to render the HTML.

@vscodebot
Copy link

vscodebot bot commented Jan 29, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@wongjiahau
Copy link
Author

Duplicates of #54272

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants