{
  "name": "go-enhance",
  "displayName": "Trae: Go",
  "version": "0.4.26",
  "publisher": "byted-icube",
  "description": "Help users configure the go environment.",
  "author": {
    "name": "Trae Team"
  },
  "license": "MIT",
  "l10n": "./l10n",
  "icon": "media/go-logo-blue.png",
  "categories": [
    "Programming Languages",
    "Snippets",
    "Linters",
    "Debuggers",
    "Formatters",
    "Testing"
  ],
  "galleryBanner": {
    "color": "#F2F2F2",
    "theme": "light"
  },
  "private": true,
  "repository": {
    "type": "git",
    "url": "https://github.com/golang/vscode-go"
  },
  "bugs": {
    "url": "https://github.com/golang/vscode-go/issues"
  },
  "keywords": [
    "multi-root ready",
    "golang",
    "gopls"
  ],
  "scripts": {
    "clean": "rm -rf ./dist/* && rm -rf ./out/* && rm -rf ./bin/* && rm *.vsix",
    "package": "npx vsce package --baseContentUrl https://github.com/golang/vscode-go/raw/HEAD --baseImagesUrl https://github.com/golang/vscode-go/raw/HEAD",
    "vscode:prepublish": "npm run build",
    "bundle": "esbuild src/goMain.ts --bundle --outdir=dist --external:vscode --external:electron --format=cjs --platform=node",
    "bundle-dev": "npm run bundle -- --sourcemap",
    "bundle-watch": "npm run bundle -- --sourcemap --watch",
    "test-compile": "tsc -p ./",
    "build": "npm run bundle",
    "watch": "npm run bundle-watch",
    "test": "npm run test-compile && node ./out/test/runTest.js",
    "lint": "gts lint src",
    "fix-lint": "gts fix src",
    "unit-test": "npm run test-compile && node ./node_modules/mocha/bin/_mocha -u tdd --timeout 5000 ./out/test/unit",
    "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\""
  },
  "capabilities": {
    "untrustedWorkspaces": {
      "supported": false,
      "description": "Only worked in trusted workspace."
    }
  },
  "extensionDependencies": [],
  "dependencies": {
    "@byted-icube/download": "^0.2.5",
    "@marcbachmann/cel-js": "^7.5.1",
    "diff": "4.0.2",
    "execa": "^9.5.2",
    "moment": "2.29.4",
    "semver": "7.5.4",
    "tree-kill": "file:third_party/tree-kill",
    "undici": "7.10.0",
    "vscode-uri": "3.0.3"
  },
  "devDependencies": {
    "@types/adm-zip": "0.4.33",
    "@types/fs-extra": "8.1.1",
    "@types/glob": "7.1.3",
    "@types/mocha": "7.0.2",
    "@types/node": "22",
    "@types/semver": "7.3.4",
    "@types/sinon": "9.0.11",
    "@vscode/debugadapter-testsupport": "1.58.0",
    "@vscode/test-electron": "2.3.8",
    "@vscode/vsce": "2.20.1",
    "adm-zip": "0.4.16",
    "esbuild": "0.17.10",
    "fs-extra": "9.1.0",
    "get-port": "5.1.1",
    "gts": "4.0.0",
    "js-green-licenses": "4.0.0",
    "mocha": "9.2.2",
    "prettier": "2.2.1",
    "sinon": "9.2.4",
    "typescript": "4.9.5"
  },
  "engines": {
    "vscode": "^1.98.0",
    "node": ">=16.14.2"
  },
  "activationEvents": [
    "workspaceContains:*/go.mod",
    "workspaceContains:go.mod",
    "workspaceContains:*/*.go",
    "workspaceContains:*.go"
  ],
  "main": "./dist/goMain.js",
  "contributes": {
    "traeGuide": [
      {
        "language": "go",
        "displayName": "Go",
        "icon": "icon.svg",
        "sdkName": "Go",
        "ext": [
          ".go"
        ],
        "projectDetectGlob": [
          "go.mod",
          "*/go.mod",
          "go.sum",
          "*/go.sum",
          "go.work"
        ],
        "capabilities": {
          "supportChooseFromLocal": true,
          "supportCancel": true
        },
        "shortcuts": [
          {
            "type": "settings.navigate",
            "description": "%go.shortcut.description%",
            "extensionId": "golang.go"
          },
          {
            "type": "configuration",
            "label": "%go-helper.enableGoModulesIntegration.description%",
            "description": "%go-helper.enableGoModulesIntegration.description2%",
            "configurationId": "go-helper.enableGoModulesIntegration"
          },
          {
            "type": "configuration",
            "label": "%go-helper.traeGopls.label%",
            "description": "%go-helper.traeGopls.description%",
            "markdownDescription": "%go-helper.traeGopls.description%",
            "configurationId": "go-helper.enableTraeGopls"
          }
        ]
      }
    ],
    "configuration": {
      "type": "object",
      "title": "Go Helper",
      "properties": {
        "go-helper.terminal.activateEnvironment": {
          "default": true,
          "description": "Apply the Go & PATH environment variables used by the extension to all integrated terminals.",
          "scope": "resource",
          "type": "boolean"
        },
        "go-helper.enableGoModulesIntegration": {
          "default": true,
          "description": "%go-helper.enableGoModulesIntegration.description2%",
          "scope": "resource",
          "type": "boolean"
        },
        "go-helper.enableTraeGopls": {
          "default": true,
          "markdownDescription": "%go-helper.traeGopls.description%",
          "scope": "resource",
          "type": "boolean"
        }
      }
    },
    "commands": [
      {
        "command": "traeGo.openGoHelperSettings",
        "title": "Open Settings",
        "category": "TRAE: Go"
      },
      {
        "command": "traeGo.openTraeGoplsDocs",
        "title": "Open TRAE gopls Docs",
        "category": "TRAE: Go",
        "enablement": "false"
      },
      {
        "command": "traeGo.resetTraeGoplsMigration",
        "title": "Reset TRAE gopls Migration",
        "category": "TRAE: Go"
      },
      {
        "command": "traeGo.resetBytedanceInternalCodingSkillNotification",
        "title": "Reset Bytedance Internal Coding Skill Notification",
        "category": "TRAE: Go"
      },
      {
        "command": "traeGo.checkAndMigrateToTraeGopls",
        "title": "Check and Migrate to TRAE gopls",
        "category": "TRAE: Go"
      },
      {
        "command": "traeGo.runMain",
        "title": "Run Go Main",
        "category": "TRAE: Go"
      },
      {
        "command": "traeGo.debugMain",
        "title": "Debug Go Main",
        "category": "TRAE: Go"
      }
    ]
  }
}
