eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
YAML should not support tabs.
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 201
- 派生
- 76
- 平均合并
- 4 天 7 小时
- 30 天内合并 PR
- 21
描述
According to this: https://yaml.org/spec/1.2/spec.html#id2777534
`In YAML block styles, structure is determined by indentation. In general, indentation is defined as a zero or more space characters at the start of a line.
To maintain portability, tab characters must not be used in indentation, since different systems treat tabs differently. Note that most modern editors may be configured so that pressing the tab key results in the insertion of an appropriate number of spaces.
The amount of indentation is a presentation detail and must not be used to convey content information.
Each node must be indented further than its parent node. All sibling nodes must use the exact same indentation level. However the content of each sibling node may be further indented independently..`
Wild web developer allows us to use YAML files with tabs.
https://imgur.com/58hVbWM
Is there any change to do in generic editor to allows convering tabs to space?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue 中链接的 YAML 规范开始,并审阅关于 Wild Web Developer 通用编辑器的现有 26 条评论讨论。确定负责 YAML 缩进行为的编辑器组件;完成应意味着已为 YAML 文件明确定义并验证所请求的制表符处理方式。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100