eclipse / buildship

The Eclipse Plug-ins for Gradle project.
528 stars 167 forks source link

Render Gradle problem reports as Eclipse error markers #1306

Closed donat closed 3 weeks ago

donat commented 2 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 2 months ago

@reinsch82 I'm interested in your initial feedback.