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

Add hints to diagnostics #43

Open
azdavis opened this issue Jul 16, 2023 · 1 comment
Open

Add hints to diagnostics #43

azdavis opened this issue Jul 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@azdavis
Copy link
Owner

azdavis commented Jul 16, 2023

Problem

Every diagnostic for Millet has its own documentation page explaining the diagnostic further. This page often contains hints for how to fix the diagnostic. However, people might not click through to this page via the error code link provided on the diagnostic.

Solution

Use the 'hint' mechanism for diagnostics in LSP to show hints directly on the diagnostics.

@azdavis azdavis added the enhancement New feature or request label Jul 16, 2023
@azdavis
Copy link
Owner Author

azdavis commented Jul 17, 2023

Even better would be to develop quick fixes to insert the fixed code directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant