Opting out for specific known content types
还没有人认领这个 Issue。
评估
调研方向
首先阅读链接的 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-wildwebdeveloper/wildwebdeveloper 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
eclipse-wildwebdeveloper/wildwebdeveloper#2122 · 2 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
eclipse-wildwebdeveloper/wildwebdeveloper#2070 · 1 条评论 ·
-
ESLintLanguageServer and JSTSLanguageServer do not support node memory limits (--max-old-space-size) 未关闭
难度 3/5 1-2 天 新手友好度 48/100
eclipse-wildwebdeveloper/wildwebdeveloper#2027 · 2 条评论 ·
-
Renaming a variable leads to entire contents of the file editor being replaced with one word- Error 未关闭
难度 4/5 3-5 天 新手友好度 42/100
eclipse-wildwebdeveloper/wildwebdeveloper#1974 · 5 条评论 ·
查看 eclipse-wildwebdeveloper/wildwebdeveloper 的全部 Issue
相似的 Issue
-
Bug Java Platform: Java
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-java#6138 · 1 条评论 ·
-
bug needs triage p2
难度 2/5 1-3 小时 新手友好度 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 76/100