lsp4jakarta
lsp4jakarta copied to clipboard
Only reports one error when two exist in Bean Validation
Description:
When there are two errors the language server should detect and report them both. If you only report one error then the user may be confused when you later report another. This is a quality of implementation issue.
Here is a screen cap from the FieldConstraintValidation test case:
If you fix the static keyword then this diagnostic is generated.
It seems like both could be generated on the first pass.
Type of language feature proposed:
Select all that apply
- [X] diagnostic
- [ ] quick-fix
- [ ] snippet
- [ ] other, please specify:
The same applies with @AssertFalse in MethodConstraintValidation.java.
This has invalid type and is static.