Skip to content

docs: 完善 Lua 插件模板与生命周期验收指引 - #2

Merged
xiaoyumuxi merged 1 commit into
mainfrom
docs/lsp-plugin-lifecycle
Oct 17, 2026
Merged

xiaoyumuxi merged 1 commit into
mainfrom
docs/lsp-plugin-lifecycle

Conversation

@xiaoyumuxi

Copy link
Copy Markdown
Contributor

Lua 模板的作者说明缺少本地打包、完整改名清单和安装后激活步骤。本次补齐这些操作,并接入 Store 的生命周期及构建教程,方便作者从派生模板走到发布前验收。

变更

  • 安装步骤补充重启 Lithe 并打开 Lua 文档激活服务器。
  • 增加 LSP 完整生命周期、构建/运行/测试指南入口。
  • 派生模板时提醒更新启动器缓存命名空间、CI 清单路径、作者和许可信息,以及按工作区隔离项目索引。
  • 提供 Node.js 22+ 本地打包命令和所需工具,并链接停止、重启、更新和卸载的人工验收步骤。

验证

  • node scripts/package.mjs --expect-tag v0.3.0:macOS arm64/x64 两个归档构建成功,均通过 Store 的归档和清单校验。
  • 本机验证 API 1 启动器及教程中 API 2 直接启动参数,LuaLS 均完成 initialize → initialized → shutdown → exit,退出码 0,包内容与权限保持不变。
  • README 的新增教程链接和章节锚点按本地配套文档验证通过,git diff --check 通过。
  • Lithe 界面内的安装、补全、更新和回滚尚未实测,已保留为发布前人工验收项。

合入顺序

配套文档 PR: Lithe-IDEA/Lithe-store#9

请先合入 Store PR,再合入本 PR;README 的新链接指向 Store main,需等配套文档合入后生效。

@xiaoyumuxi
xiaoyumuxi marked this pull request as ready for review October 17, 2026 08:58
@xiaoyumuxi
xiaoyumuxi merged commit 10e04c5 into main Oct 17, 2026
1 check 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.

1 participant