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

feature: Allow diagnostics messages to have markdown content #214051

Open
wants to merge 65 commits into
base: main
Choose a base branch
from

Conversation

SimonSiefke
Copy link
Contributor

fixes #54272.

This enables using markdown content in diagnostic messages. For now, the markdown messages are only rendered in the hover widget but not in the problems panel.

Testing

There is a sample diagnostic extension in extensions/sample-diagnostic-extension that uses markdown in diagnostic messages. Open the sample-demo.rs file to see the markdown diagnostics:

diagnostic-markdown-compressed.mp4

@SimonSiefke SimonSiefke marked this pull request as draft September 10, 2024 17:33
@SimonSiefke SimonSiefke marked this pull request as ready for review October 1, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow diagnostics messages to have markdown (or formatted text) content
2 participants