eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Ability to disable validation
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 201
- Fork
- 76
- Merge trung bình
- 4 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 21
Mô tả
Since decades "Wild Web Developers" is annoying users with its enforced validation (see e.g. https://github.com/eclipse-platform/eclipse.platform.ui/issues/943 - also look back to the old bugzilla issues that had been voted by many users, you can also do a web-search and find many stackoverflow and other hits from annoyed users) and no ability to disable this undesired behaviour.
Rationale
Why is it a problem? In general files should be valid, right?
But, the reality is different:
- For tests it is sometimes required to create invalid files. So e.g. if I want to test how my code reacts to incorrect JSON or XML data, I want to be able to have such invalid files in my codebase.
- "Wild Web Developers" tries to do complex validation that includes downloading of XSDs from the Internet, etc. that can fail for arbitrary technical reasons (Network issues, (temporary) Server unavailability, etc.). In such case my file can be entirely correct and the error marker for hundreds of e.g. XML files is absolutely not helpful.
- "Wild Web Developers" validation is slow. Validating every file in a very large project is a disaster.
Eclipse has a smart concept to aggregate errors and warnings.
As a result you see a project has a red cross if there are errors or not if there are no errors.
The aim of every reasonable developer is to get rid of the red crosses.
It is therefore in-acceptable to have errors that are actually false positives (as illustrated above).
Acceptance criteria
- In the preferences I want to have an option to disable/suspend all validators (maybe additionally even by type - XML, JSON, etc.).
- If that option is checked, then no validation should take place, no performance is wasted for validation and especially no validation errors are produced by upcoming builds.
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 nêu các tùy chọn, trình xác thực và các bản build sắp tới nhưng không có tệp hoặc bài kiểm thử nào. Hãy bắt đầu bằng cách lần theo nơi các tùy chọn của trình xác thực được định nghĩa và nơi quá trình xác thực chạy trong các bản build. Được xem là hoàn tất khi một tùy chọn có thể tạm dừng toàn bộ quá trình xác thực, tránh thực hiện công việc xác thực và không tạo ra lỗi xác thực khi được bật.
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
- Lĩnh vực
- tooling
- Loại issue
- Tính năng
- Độ 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
- 45/100