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

Show diagnostic codes for LSP diagnostics #6378

Merged
merged 2 commits into from
Mar 21, 2023
Merged

Show diagnostic codes for LSP diagnostics #6378

merged 2 commits into from
Mar 21, 2023

Conversation

FrancescElies
Copy link
Contributor

Similar to #6095

Problem currently during diagnostic rendering only the description is shown but the code is also useful when one wants to ignore that error report.

After this pr errors will be rendered as follows.
image

Now you know what code to use to ignore the error
image

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
@the-mikedavis the-mikedavis changed the title render diagnostics shows description but not code Show diagnostic codes for LSP diagnostics Mar 21, 2023
@the-mikedavis the-mikedavis merged commit 05ee673 into helix-editor:master Mar 21, 2023
@FrancescElies FrancescElies deleted the cesc/show-diagnostic-code branch March 22, 2023 05:18
icecreammatt pushed a commit to icecreammatt/helix that referenced this pull request Apr 19, 2023
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
wes-adams pushed a commit to wes-adams/helix that referenced this pull request Jul 4, 2023
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
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.

2 participants