You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@manueljordan This issue is purely about adopting the DiagnosticTag capability of the language server protocol to mark diagnostics as deprecated or unnecessary, so that the client can render those diagnostics accordingly. The two mentioned annotations were just examples.
The validation that you mentioned for @RequestParam already shipped a few releases ago.
We have diagnostics in place that point out unnecessary things:
@Autowired
annotation on constructors@PathVariable
annotation when the name matches the parameter name(maybe more?)
We should include the DiagnosticTag.Unnecessary in the resulting diagnostic marker. It allows the client to render the part in the editor faded out.
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnosticTag
(Whether this works in Eclipse would be an additional thing to verify)
The text was updated successfully, but these errors were encountered: