jtulach opened a new pull request, #7659: URL: https://github.com/apache/netbeans/pull/7659
Fixes #7647 by designing an **opt-in** API for providers of `ErrorProvider` implementations to enable bridging of their errors into NetBeans IDE as hints. The existing `ErrorProvider` subclasses (they don't override this new method) will activate themselves _only in the VSCode extension_ (that one is running in `isHeadless()` mode). New providers are encouraged (by the Javadoc) to override the `isEnabled()` method to always return `true`. E.g. to **opt-in** into the delegation as provided by - #7579 I don't like the new API much, but given how much inquiries this effort has already caused, it is probably more important to be as compatible as possible (and require the **opt-in**) rather than seeking API beauty. -- 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
