eclipse-buildship / buildship

The Eclipse Plug-ins for Gradle project.
535 stars 171 forks source link

Render Gradle problem reports as Eclipse error markers #1306

Closed donat closed 4 months ago

donat commented 5 months ago

The Gradle Tooling API now exposes problem reports via Tooling API events. This change implements a listener consuming problem events an converting them to Eclipse error markers.

The feature is not enabled by default. Users need to explicitly opt-in for the time being.

image

Reported problems show up in the Eclipse Problems view under the Gradle Problem type. The reports are cleared and recreated for every build invocation (sync and task execution).

image

The error marker has a custom properties page with the report details. Documentation links are navigable and there's a button for copying the stacktrace, just like on the generic Eclipse marker properties page.

image

Tasks

donat commented 5 months ago

@reinsch82 I'm interested in your initial feedback.