redhat-developer / redhat-developer/vscode-java
Exceptions are buried in the log file.
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ả
I turned on the java tooling in vscode for a flutter project and received the following error:
Failed to configure project sounds
When I googled the error I found a github issue that suggested I should open the java log file where I found:
java.lang.Exception: Could not set the project description for 'sounds' because the project description file (.project) is out of sync with the file system.
I shouldn't have to dig into a log file to find the actual error. vscode-java should be showing the exception description in the vscode problems window.
Version: 1.54.1
Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8
Date: 2021-03-04T22:38:50.094Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Linux x64 5.8.0-44-generic snap
Language Support for java by redhat: v0.76.0
java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.10)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.10, mixed mode, sharing)
Ubuntu 20.04
Could not set the project description for 'sounds' because the project description file (.project) is out of sync with the file system.
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
Issue không nêu tệp mã nguồn, bài kiểm thử hoặc entry point nào. Hãy tái hiện lỗi cấu hình dự án bằng các công cụ Java trong VS Code, sau đó theo dõi cách lỗi đó đến cửa sổ Problems; công việc hoàn tất khi mô tả ngoại lệ được hiển thị ở đó thay vì chỉ trong Java log.
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
- 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