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

Improve range-accuracy on value definition diagnostics #249

Conversation

nachiket87
Copy link
Contributor

@nachiket87 nachiket87 commented Apr 11, 2024

part of #248 and initial setup for adding suggestions / code actions for #213

Based on marcoroth/stimulus-parser#114 and marcoroth/stimulus-parser#117.

Display diagnostic only on the offending type value instead of the whole value object.

Before

Screenshot 2024-04-11 at 4 30 17 PM

After

Screenshot 2024-04-11 at 4 26 08 PM

@marcoroth marcoroth force-pushed the add-diagnostic-for-value-range-only-on-invalid-type branch from ef82cbc to 82a3460 Compare April 29, 2024 14:58
@marcoroth marcoroth changed the title show diagnostic only on the value definition for invalid type Improve range-accuracy on value definition diagnostics Apr 29, 2024
@marcoroth marcoroth merged commit 67591d2 into marcoroth:main Apr 29, 2024
1 check passed
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