Skip to content

Conversation

@ilx
Copy link

@ilx ilx commented Jan 12, 2026

Summary

Adds automatic Lombok detection and support for the JDTLS language server.

Changes

  • Auto-detect Lombok in pom.xml, build.gradle, build.gradle.kts
  • Download lombok.jar only when needed
  • Support both wrapper script and direct Java execution
  • Add proper error handling for download failures
  • Respect OPENCODE_DISABLE_LSP_DOWNLOAD flag

Improves upon #6434 by adding auto-detection instead of always enabling Lombok for all Java projects.

Fixes #8032

- Auto-detect Lombok in pom.xml, build.gradle, build.gradle.kts
- Download lombok.jar only when needed
- Support both wrapper script and direct Java execution
- Add proper error handling for download failures
- Respect OPENCODE_DISABLE_LSP_DOWNLOAD flag

Improves upon anomalyco#6434 by adding auto-detection instead of
always enabling Lombok for all Java projects.
@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]:jdtls should support lombok

1 participant