Opting out for specific known content types

オープン
#850 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
tooling

調査の方向性

まず、リンクされている PDE #294 と LemMinx #1275 の議論を読み、Wild Web Developer と LemMinx の境界を理解します。Wild Web Developer がコンテンツタイプと検証をどこで処理しているかを特定し、完了条件を、他の XML ファイルの検証を無効にすることなく、一覧にある PDE リソースに対するスキーマ関連の警告を抑制することと定義します。

索引モデルが issue の本文から書いたものです。

説明

There should be a way to opt of validation for specific know content types.

The issue arises relates to this issue raised for PDE:

https://github.com/eclipse-pde/eclipse.pde/issues/294

PDE has abused the XML Schema namespace for its own purpose leading to all kinds of validation errors that are not really errors for PDE's actual use of *.exsd resources.

Similarly a PDE *.target file doesn't specify a schema, but the editor knows the correct structure so a warning about the schema being missing is just noise to the user. Same for feature.xml, category.xml, plugin.xml, and *.product.

The Lemminx functionality is generally very cool and very useful, but it seems the only way to disable this for PDE's resources is to disable it in general, which definitely not desired either. Apparently the issue should not be addressed in LemMinx, as suggested by this comment:
https://github.com/eclipse-pde/eclipse.pde/issues/294#issuecomment-1216550919

but rather in Wild Web Developer as suggested by this comment:

https://github.com/eclipse/lemminx/issues/1275#issuecomment-1221371932

主要言語
Java
スター
203
フォーク
76
平均マージ
1日 5時間
マージ済み PR(30日)
30

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-wildwebdeveloper/wildwebdeveloper のほかの issue

eclipse-wildwebdeveloper/wildwebdeveloper の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。