redhat-developer / redhat-developer/vscode-java

Javadocs not displaying on hover

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

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

bug hover javadoc
Ngôn ngữ chính
TypeScript
Star
2.3k
Fork
546
Merge trung bình
20 giờ 1 phút
Pull request đã merge (30 ngày)
11

Mô tả

Hello, I have encountered an issue with displaying Javadocs on hover. I have narrowed down the problem to a single dependency that breaks the hover functionality for some classes/methods.

Environment
  • Operating System: Puppy Linux F96-CE
  • JDK version: IBM Semeru Runtime Open Edition 21.0.1.0 (build 21.0.1+12-LTS)
  • Visual Studio Code version: 1.87.2
  • Java extension version: 1.28.1
Steps To Reproduce
  1. [step 1] Open attached sample project
  2. [step 2] Hover on Spring annotations or DiscordJar in private static final DiscordJar api

[Please attach a sample project reproducing the error]
sample-project.zip

Please attach logs

client.log.2024-03-20.txt
log.txt

Current Result

Javadocs don't appear on hover

Expected Result

Javadocs appear on hover

Additional Informations

A lone direct dependency on spring-boot results in javadocs displaying for Spring annotations.
A direct dependency on spring-boot + dependency on discord.jar results in javadocs not displaying for Spring annotations nor discord.jar types.
A lone dependency on discord.jar results in javadocs not displaying for its own types (ex. DiscordJar) but they are present when viewed via Go to Definition or viewing some methods in code completion.
Using any transitive dependencies from discord.jar has their javadocs not appear (ex. Gson).

Signature help does display the javadocs as well, but not all of them (Spring annotations still don't show).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Hướng nghiên cứu

Bắt đầu với sample-project.zip đính kèm và tái hiện hành vi khi di chuột lên các annotation của Spring và DiscordJar. Đọc client.log.2024-03-20.txt và log.txt cùng với các tổ hợp dependency được mô tả trong issue; hoàn tất khi Javadocs xuất hiện khi di chuột lên các kiểu Spring, DiscordJar và dependency bắc cầu bị ảnh hưởng.

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

Đánh giá

Công nghệ
java, vscode
Lĩnh vực
developer-experience, tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

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.