eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Ability to disable validation
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 201
- フォーク
- 76
- 平均マージ
- 4日 7時間
- マージ済み PR(30日)
- 21
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では、設定、バリデーター、今後のビルドについて述べられていますが、ファイルやテストは指定されていません。まず、バリデーターの設定がどこで定義され、ビルド中にバリデーションがどこで実行されるかを追跡してください。設定を有効にすると、すべてのバリデーションを一時停止でき、バリデーション処理を行わず、バリデーションエラーも発生しなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100