Opting out for specific known content types

未关闭
#850 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
java
领域
tooling

调研方向

首先阅读链接的 PDE #294 和 LemMinx #1275 讨论,以了解 Wild Web Developer 与 LemMinx 之间的边界。确定 Wild Web Developer 在哪里处理内容类型和验证,然后将完成标准定义为:抑制所列 PDE 资源的 schema 相关警告,同时不禁用对其他 XML 文件的验证。

由索引模型根据 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
星标
201
派生
76
平均合并
4 天 7 小时
30 天内合并 PR
21

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eclipse-wildwebdeveloper/wildwebdeveloper 的其他 Issue

查看 eclipse-wildwebdeveloper/wildwebdeveloper 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。