Repository navigation
fix(settings): preserve public ID field names in source editor bindings - #58
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / Linked issue
Refs 1lck/Lithe-IDEA#1794
Refs #57
PR 类型 / Type
改动说明 / What changes
背景 / Why
原生来源编辑器声明上游构建或语言绑定后,符合公开契约的清单被拒绝,导致编译器页无法注册。
改动 / Changes
显式固定
sourceEditor.buildSystemID/languageID的反序列化和序列化名称,保持清单、schema、动作计划及 Go 桥接一致。补充公开字段 ID 字母表说明。不在本 PR 范围内 / Out of scope
不新增能力、宿主方法或通知,不改变已发布能力版本,不加入具体插件依赖。
类型专属:fix
复现与根因
#57 的通用 camelCase 派生将 ID 变成 Id。纯 editFunction fixture 未覆盖绑定字段;插件仓库的真实投影无头检查发现了这个问题。新增 round-trip 回归先在 7b92677 上失败,修复后通过,同时验证两种绑定的值和规范序列化。
检查项
source_editor_bindings_follow_the_public_id_field_spelling。范围检查 / Scope
功能矩阵/UI/i18n/资源:无独立变化,沿用 #57。日志:保留原清单拒绝边界。性能:无新进程、缓存或热路径。契约:文档说明与现有 schema 保持一致,协议更新记录随本 PR 登记。宿主 RPC 方法:N/A。
验证 / Verification
模型/清单测试已通过;当前固定 Rust 的其余验证完成后补充并 ready。
提交前确认 / Final checks