redhat-developer / redhat-developer/vscode-java

Improvement: Classpath is Incomplete warning should give more context

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

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

stale
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ả

Issue #193 points out that this message can be less than helpful. The wiki points out that this occurs when opening individual java files. But the cases associated with this message suggest there are various other conditions - missing .project files, misconfigured .classpath, among others. I have an environment where I open multiple project directories in a single vscode window. I don't even know which project to start looking at when this message appears.

It would be helpful if the message could display "Classpath is incomplete" in (File or directory reference)

Environment
  • Operating System: OSX
  • JDK version: jdk 1.8
  • Visual Studio Code version: 1.35.1
  • Java extension version: 0.46.0
Steps To Reproduce
  1. With (say) 3 java project directories in a vscode window, delete .project in one.
  2. Java: Clean the language server environment

"Classpath is Incomplete" warning is displayed

Current Result
Expected Result
Additional Informations

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 issue #193 và truy vết cảnh báo hiện có "Classpath is incomplete" trong Java extension. Tái hiện cảnh báo này với nhiều thư mục dự án Java trong cùng một cửa sổ VS Code sau khi xóa tệp .project và làm sạch môi trường language server. Hoàn tất khi cảnh báo xác định được tệp hoặc thư mục liên quan.

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, typescript, vscode
Lĩnh vực
developer-experience, tooling
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 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.