Skip to content

Go Support v1.0.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 15:31
· 8 commits to main since this release
a4bb52b

兼容性:按插件契约 v0(schemaVersion 0、pluginAPIVersion 0)编写,需要新版 Lithe 桌面端(desktop-v* 预发布)。旧版 macOS Lithe 无法安装。

1.0.1 加入 Windows 安装包,同时支持 Windows ARM64 和 x64。插件行为和 1.0.0 相同,macOS 用户不需要更新。

功能:

  • Windows:Release 新增 go-support-1.0.1-windows.zip,与 darwin 包字节相同。插件只声明 Lithe 怎样启动你电脑上的 go、gopls 和 dlv:Windows 上从 GOROOT 解析 bin\go.exe,在 C:\Program Files\Go、Scoop 等位置找到 Go;gopls 和 dlv 按 PATHEXT 找到 gopls.exe、dlv.exe。在插件详情里安装 gopls 和 dlv 同样可用,装进 Lithe 管理的目录或 Go 的默认位置(go env GOBIN,为空时 GOPATH 列表第一项下的 bin)。
  • Windows ARM64 上没有调试:Delve 本身还不支持 windows/arm64(1.27.2 构建时报 your_windows_architecture_is_not_supported_by_delve),插件详情里安装 dlv 会以这个构建错误失败。代码智能、构建、检查、测试和运行不受影响;Delve 加入支持后不需要更新插件。

验证:

  • CI 在 Windows x64、Windows ARM64 和 macOS 上用真实的 go、gopls、dlv 运行清单里的命令(scripts/test.mjs):版本探测、模型和依赖、构建、vet、过滤后的测试、go env 目录、gopls 和 dlv 的托管安装、gopls 的校验参数和 dlv dap 的端点公告。Windows ARM64 上 dlv 的两项记为跳过。Windows 上测的是解压到带空格路径的 windows 包。
  • 这些是命令层面的自动化测试,还没有在 Windows 版 Lithe 里手工验收,状态见 docs/feature-matrix.md。

权限:不变。

兼容性:

  • 宿主要求与 1.0.0 相同(1lck/Lithe-IDEA#1954、#1964、#1971、#1975)。
  • 只能装进新版 Lithe 桌面端(desktop-v* 预发布)。

安装:Lithe Store(https://github.com/Lithe-IDEA/Lithe-store)中的 Go Support 条目合并后,可在 设置 → 插件 → 插件市场 中搜索 Go Support 并安装。

SHA-256:

go-support-1.0.1-darwin.zip ff1e89200fece4e96e2cfea8f743c4a97923ae32dc9514e7e47968735231b86f
go-support-1.0.1-windows.zip ff1e89200fece4e96e2cfea8f743c4a97923ae32dc9514e7e47968735231b86f