redhat-developer / redhat-developer/vscode-java

Add support for Exclusion Lists for Java Linter

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

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

compile diagnostics preferences
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
  1. Create a Java Project and have the extension installed.
  2. Write example code that would get scanned by linter with problems.
  3. 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

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

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

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.