VS Code / LSP:0.6 支持组件与 dev 组件(1.7.0-dev)
English summary. Editor components are separate: 0.6.0 is the supported release component (190 checks); 0.9.0/0.10.0/0.12.0 are optional/dev
.vsixbuilds outside the release tar — not Marketplace-published and not supported release components.
Q+ 编辑器支持由独立组件提供,不并入语言 tar 作为核心能力;未发布 Marketplace。 本页区分支持组件与可选/开发组件,避免把 dev 组件当作已发布/受支持能力。
支持组件:0.6.0(发布包内)
v1.5.0-dev 发布包支持并附带 qplus-0.6.0.vsix(components/vscode/ 与 dist/ 内):
- 语法高亮 / 语言配置 / 代码片段 / 一键 Build、Build AOT ELF、Run、Run tests;
- 编译器、运行期
Runtime error: <class>: <detail>/Traceback ... (line N, pc=M)、 FFI 与 AOT loud-fail 诊断映射到 Problems; - Formatter(
Q+: Format Document,零依赖、幂等); - 离线 LSP(stdio JSON-RPC,LSP 1.0 子集):document/workspace symbols、definition、 references、rename(含 prepareRename)、signature help、semantic tokens、hover/completion、 code action、inlay hint、document link、code lens、workspace folders、诊断;
- 验证:
scripts/validate.sh --integration→ 190 checks ALL PASS;无第三方运行时依赖; - 不是 Marketplace 发布物,为本地安装的
.vsix。
开发组件(DEV / OPTIONAL,均不在 tar)
- 0.9.0/0.10.0:更早的开发线组件(0.7.0/0.8.0 更早)(0.7.0:208 checks;Modules B 限定路径、OS SDK 0.1
os.*模块感知、TC16/TC17 Explain);不在发布 tar、未发布 Marketplace、不是受支持发布组件。 - 0.12.0:当前 OPTIONAL/DEV 组件,以 optional dev vsix 方式分发(
components/lsp-dev/); 不在发布 tar、未发布 Marketplace、不是受支持发布组件;能力在正式发布收编前不作为 已发布特性宣称(具体功能/验收以对应 dev 组件说明为准)。
两个 dev 组件的共同限制:Modules B 索引需要 *.map;部分 TC16/17 场景仅 Explain 无 quick-fix;OS SDK 模块不在语言树中(仅在有映射的 workspace 中做模块感知);扩展默认关闭 LSP,需 qplus.lsp.enabled=true。
不得宣称
- 不得称 LSP/VSIX 已发布 Marketplace 或作为语言核心能力随 tar 分发;
- 不得称 0.7.0/0.8.0/0.9.0/0.10.0/0.12.0 为受支持发布组件或已发布能力;
- 不得把 dev 组件的 Modules B/OS SDK 感知描述为语言树内置模块系统或 OS SDK 已可用;
- 不得称编辑器能力已发布(1.7.0-dev 为 release candidate,NOT PUBLISHED)。