sdedic opened a new issue, #6971:
URL: https://github.com/apache/netbeans/issues/6971

   ### Description
   
   An `ErrorProvider` must create Diagnostic objects through its Builder, so it 
cannot control (maintain) the identity easily. But it needs to somehow allow to 
pair previous and current objects, so that LSP core knows what diagnostics are 
just published again, and which Diagnostic are not "duplicates".
   
   For Java errors and hints, a line-column info is embeded into 
`Diagnostic.`code property, which is not good, as the `code` is displayed in 
the UI - and for example line:column information is duplicated.
   
   The SPI implementor should be able to provide an ID which will be used for 
matching, separately from the diagnostic code.
   
   ### Use case/motivation
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to