Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ECode for GoNew to Visual Studio Code? Get it now.
ECode for Go

ECode for Go

EFramework

|
32 installs
| (0) | Free
ECode for Go streamlines the Gopher development workflow with fast build and debug support, and works with VSCode-like editors like Cursor and Trae.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ECode for Go

VS Code Version Installs
Open VSC Version Installs
DeepWiki

ECode for Go 优化了 Gopher 们的开发体验,提供快速构建与调试能力,兼容 Cursor、Trae 等 VSCode Like 编辑器。

功能特性

  • 📦 支持多项目配置
  • 🚀 快速构建和调试

使用手册

功能清单

  • 🪲 Debug Project(s):调试项目
  • 🛑 Stop Project(s):停止项目
  • 🚀 Start Project(s):启动项目
  • 🔨 Build Project(s):构建项目
  • 📝 Edit Project(s):编辑项目
  • 📄 Show Output(s):显示输出
  • 🎛️ Show Command(s):显示命令

配置说明

字段 必要 说明
os ✅ 运行时平台,参考 GOOS
arch ✅ 指令集架构,参考 GOARCH
scriptPath ✅ 源码路径
buildPath ✅ 构建路径
buildArgs ➖ 构建参数,参考 go help build
buildCopy ➖ 构建拷贝,支持 glob 和路径映射
startArgs ➖ 启动参数
startDelay ➖ 启动延迟
stopDelay ➖ 停止延迟
stopPort ➖ 端口文件
dlvFlags ➖ 调试参数
extends ➖ 拓展配置

配置示例

{
    "vsc-go.projectList": {
        "Greet": {
            "base": {
                "os": "windows",
                "arch": "amd64",
                "scriptPath": "src/main",
                "buildPath": "bin",
                "buildCopy": [
                    "configs/*.json",
                    "assets/data:resources"
                ]
            },
            "debug.windows.amd64": {
                "extends": "base"
            },
            "release.windows.amd64": {
                "extends": "base",
                "buildArgs": ["-trimpath"]
            }
        }
    }
}

常见问题

更多问题,请查阅问题反馈。

项目信息

  • 更新记录
  • 贡献指南
  • 许可证
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft