Explicit non-Quarkus dependencies not resolved in classpath

Đang mở
#246 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
build-system

Hướng nghiên cứu

The report involves a Quarkus Gradle project where a direct dependency such as jackson-dataformat-csv is missing from the JDT LS classpath, while Quarkus-extension transitives resolve. Start by reproducing with a minimal Gradle project that declares that dependency, then compare what the language server reports against the Gradle dependency graph. Done means the import resolves without errors in Zed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

language-server
Relevance Confirmation
  • I confirmed that this is not an issue with the Eclipse JDT Language Server itself
What happened?

In a Quarkus Gradle project, transitive dependencies pulled in via Quarkus extensions are correctly resolved, but explicit direct dependencies that are not part of any Quarkus extension (e.g. jackson-dataformat-csv) are missing from the JDT LS classpath, causing false import errors. Gradle compiles fine.

  • Extension version: 6.8.17
  • Quarkus version: 3.35.2
What did you expect to happen?

Zed Java LSP does not show errors for such external dependencies

Environment

Zed: v1.2.2
Platform: macOS 26.5
Java: Oracle GraalVM 25.0.3+9.1

Ngôn ngữ chính
Rust
Star
225
Fork
47
Merge trung bình
3 giờ 51 phút
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của zed-extensions/java

Tất cả issue của zed-extensions/java

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.