Skip to content

feat(plugin-api): add editor color decorations - #188

Merged
xiaoyumuxi merged 2 commits into
Lithe-IDEA:mainfrom
mirakyux:codex/rainbow-bracket-editor-capabilities
Nov 23, 2026
Merged

xiaoyumuxi merged 2 commits into
Lithe-IDEA:mainfrom
mirakyux:codex/rainbow-bracket-editor-capabilities

Conversation

@mirakyux

Copy link
Copy Markdown
Contributor

关联 Issue

当前没有关联 Issue。

PR 类型

  • feat

改动

  • 为 API-25 扩展一个通用 colorDecorations 提供者。普通后端函数按文档 ID 和版本返回 UTF-16 单行前景色范围,色表各自声明明暗色。
  • Core 校验色表、范围、来源和传输预算。按稳定来源 ID 合成重叠范围,让多来源结果与语法、LSP 及诊断层组合。
  • 更新契约、Schema、开发参考、API 目录和协议更新记录,补上四个官方 SDK 的合成回归场景。
  • 桌面宿主在 Core 合入后更新固定版本。具体插件由独立仓库维护。
原计划编号 方法 用途
API-25 editor/registerProviders 通过现有方法注册版本化的前景色提供者

验证

  • Windows x64 lithe-plugin-editor 18 个用例通过,契约文档、平台测试覆盖和 Rust 格式门禁通过。
  • 桌面端用本地 Core 验证了注册、会话注销、重命名及颜色叠加。针对并发注册的竞态用例通过。
  • 权限、方法、通知及协议版本沿用现有契约。Core 使用现有结构化错误,未新增日志事件或 UI 文案。
  • 当前 Core 实现跨平台共享。macOS 与 Linux 运行结果由 CI 补充。

@mirakyux
mirakyux marked this pull request as ready for review November 23, 2026 14:38
@xiaoyumuxi
xiaoyumuxi merged commit 0598008 into Lithe-IDEA:main Nov 23, 2026
12 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants