redhat-developer / redhat-developer/vscode-java
Add support for Exclusion Lists for Java Linter
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 547
- Merge trung bình
- 20 giờ 1 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
Currently the Java Linter for this extension is scanning all of my project's autogenerated code which is causing 1000+ problems to be reported. From a very thorough investigation both VSCode and this extension do not have any exclusion options for what directories/files are scanned by the Java Linter and reported in the Problems tab.
Environment
- Operating System: Windows 10 64-bit
- JDK version: JDK 11
- Visual Studio Code version: 1.66
- Java extension version: 1.7.0
Steps To Reproduce
- Create a Java Project and have the extension installed.
- Write example code that would get scanned by linter with problems.
- Review extension settings and there is no option to add exclusion for the linter.
Current Result
Java Linter scans every directory and file for the entire project with no options for exclusions, turning off linter completely or other common options.
Expected Result
Java Linter should have settings in this extension for exclusions, turning off the linter, and using the .gitignore file as a default exclusion list.
Additional Informations
VSCode has said in other issues where this is brought up that this is the responsibly of the extensions to support exclusion lists for the Problems tab. Issue that is closed talking about this is found here: https://github.com/microsoft/vscode/issues/22289
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 xác định tệp triển khai hoặc bài kiểm thử nào. Hãy bắt đầu bằng việc xác định entry point của Java linter và các cài đặt của extension, sau đó theo dõi cách diagnostics đến được tab Problems; công việc được xem là hoàn tất khi việc loại trừ, vô hiệu hóa và lọc dựa trên .gitignore được định nghĩa và xác minh cho kịch bản mã được tự động tạo đã nêu.
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, devtools
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- 30/100