redhat-developer / redhat-developer/vscode-java
"Starting java language server" processing stops before 100% on workspaces with a non-existing project directory (causing "Classpath is incomplete")
Chưa có ai nhận issue này.
- 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ả
The following workspace opens ok and "starting java language server" process finishes at 100%
{
"folders": [
{
"path":"simple-project1"
},
{
"path":"other-existing-dir"
}
]
}
However the one below one stops at 30% because the first project path in the workspace does not exist. This causes also the following error when clicking on the code of Main.java: "Classpath is incomplete: Only syntax errors will be reported":
{
"folders": [
{
"path":"non-existing-dir"
},
{
"path":"simple-project1"
},
{
"path":"other-existing-dir"
}
]
}
Environment
- Operating System:
Ubuntu 18.04.3 LTS - JDK version: 13
- Visual Studio Code version:
1.42.1 - Java extension version:
0.57.0(got from changelog)
Steps To Reproduce
- First open
working-workspace.code-workspaceand see the thumbs-up symbol on down-right side. - Then open
problematic-workspace.code-workspaceand see the thumbs-down symbol on down-right side.
Current Result
Expected Result
Additional Informations
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách giải nén code-missing-project-path-issue.tar.gz và mở working-workspace.code-workspace cùng problematic-workspace.code-workspace trong VS Code. Trước tiên, tái hiện quá trình khởi động language server với đường dẫn dự án không tồn tại, sau đó so sánh tiến trình và các chẩn đoán với workspace đang hoạt động. Hoàn tất có nghĩa là quá trình khởi động đạt 100% và Main.java không còn báo cáo classpath chưa đầy đủ.
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
- devtools
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100