{
  "name": "java-helper",
  "displayName": "Trae: Java",
  "version": "0.4.21",
  "publisher": "byted-icube",
  "description": "Java helper for Trae",
  "author": {
    "name": "Trae Team"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/Microsoft/vscode-extension-samples"
  },
  "l10n": "./l10n",
  "icon": "media/icon128.png",
  "categories": [
    "Programming Languages",
    "Snippets",
    "Linters",
    "Debuggers",
    "Formatters",
    "Testing"
  ],
  "galleryBanner": {
    "color": "#F2F2F2",
    "theme": "light"
  },
  "private": true,
  "scripts": {
    "clean": "rm -rf ./dist/* && rm -rf ./out/* && rm -rf ./bin/* && rm *.vsix",
    "package": "npx vsce package",
    "vscode:prepublish": "npm run build",
    "bundle": "esbuild src/main.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": "tsc -watch -p ./",
    "test": "npm run test-compile && mocha --timeout 5000 ./out/test",
    "lint": "gts lint src test",
    "fix-lint": "gts fix src test",
    "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\"",
    "postinstall": "patch-package"
  },
  "capabilities": {
    "untrustedWorkspaces": {
      "supported": false,
      "description": "Only worked in trusted workspace."
    }
  },
  "extensionDependencies": [],
  "dependencies": {
    "@byted-icube/download": "^0.2.5",
    "archive-type": "^4.0.0",
    "decompress": "^4.2.1",
    "diff": "4.0.2",
    "glob": "^11.0.1",
    "jdk-utils": "^0.5.1",
    "moment": "2.29.4",
    "semver": "7.5.4",
    "tree-kill": "file:third_party/tree-kill",
    "undici": "^7.10.0",
    "vscode-debugadapter": "1.45.0",
    "vscode-debugprotocol": "1.45.0",
    "vscode-languageclient": "8.1.0",
    "vscode-languageserver-protocol": "3.17.3",
    "vscode-uri": "3.0.3",
    "which": "^5.0.0"
  },
  "devDependencies": {
    "@types/decompress": "^4.2.7",
    "@types/fs-extra": "^8.1.1",
    "@types/glob": "7.1.3",
    "@types/lodash": "^4.17.16",
    "@types/mocha": "7.0.2",
    "@types/node": "22",
    "@types/semver": "7.3.4",
    "@types/which": "^3.0.4",
    "@vscode/debugadapter-testsupport": "1.58.0",
    "@vscode/test-electron": "2.3.8",
    "@vscode/vsce": "2.20.1",
    "esbuild": "0.17.10",
    "fs-extra": "^9.1.0",
    "gts": "4.0.0",
    "js-green-licenses": "4.0.0",
    "mocha": "9.2.2",
    "patch-package": "^8.0.0",
    "prettier": "2.2.1",
    "typescript": "4.9.4"
  },
  "engines": {
    "vscode": "^1.98.0",
    "node": ">=16.14.2"
  },
  "activationEvents": [
    "workspaceContains:*/pom.xml",
    "workspaceContains:pom.xml",
    "workspaceContains:*/*.java",
    "workspaceContains:*.java"
  ],
  "main": "./dist/main.js",
  "contributes": {
    "traeGuide": [
      {
        "language": "java",
        "displayName": "Java",
        "icon": "java.svg",
        "sdkName": "JDK",
        "ext": [
          ".java"
        ],
        "projectDetectGlob": [
          "pom.xml",
          "*/pom.xml",
          "build.gradle",
          "*/build.gradle"
        ],
        "capabilities": {
          "supportSelectVendor": true,
          "supportChooseFromLocal": true,
          "supportCancel": true
        },
        "shortcuts": [
          {
            "type": "settings.navigate",
            "description": "%java.maven.shortcut.description%",
            "extensionId": "vscjava.vscode-maven"
          },
          {
            "type": "settings.navigate",
            "description": "%java.gradle.shortcut.description%",
            "extensionId": "vscjava.vscode-gradle"
          }
        ]
      }
    ],
    "commands": [
      {
        "command": "traeJava.openJavaHelperSettings",
        "title": "Open Settings",
        "category": "Trae: Java"
      }
    ],
    "configuration": {
      "type": "object",
      "title": "Java Helper",
      "properties": {
        "java-helper.terminal.activateEnvironment": {
          "default": true,
          "description": "Apply the Java & PATH environment variables used by the extension to all integrated terminals.",
          "scope": "resource",
          "type": "boolean"
        }
      }
    }
  }
}
