{
  "name": "raspberry-pi-pico",
  "displayName": "Raspberry Pi Pico",
  "description": "The official VS Code extension for Raspberry Pi Pico development. It includes several features to simplify project creation and deployment. (Single folder workspaces only)",
  "version": "0.17.0",
  "author": "paulober",
  "publisher": "raspberry-pi",
  "icon": "./images/extension-icon.png",
  "license": "MPL-2.0",
  "homepage": "https://github.com/raspberrypi/pico-vscode/blob/master/README.md",
  "bugs": {
    "url": "https://github.com/raspberrypi/pico-vscode/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/raspberrypi/pico-vscode/"
  },
  "engines": {
    "vscode": "^1.92.1",
    "node": ">=20.14.0"
  },
  "os": [
    "win32",
    "darwin",
    "linux"
  ],
  "cpu": [
    "x64",
    "arm64"
  ],
  "keywords": [
    "raspberry",
    "pi",
    "raspberry pi",
    "pico",
    "pico w",
    "raspberry pi pico",
    "raspberry pi pico w",
    "pico sdk"
  ],
  "categories": [
    "Snippets",
    "Other"
  ],
  "extensionDependencies": [
    "ms-vscode.cpptools",
    "ms-vscode.cpptools-extension-pack",
    "ms-vscode.vscode-serial-monitor",
    "marus25.cortex-debug",
    "paulober.pico-w-go",
    "ms-python.python"
  ],
  "main": "./dist/extension.cjs",
  "markdown": "github",
  "minimumNodeVersion": 20,
  "capabilities": {
    "virtualWorkspaces": {
      "supported": false,
      "description": "Raspberry Pi Pico extension is intended to be used localy."
    },
    "untrustedWorkspaces": {
      "supported": false,
      "description": "Raspberry Pi Pico extension is intended to be used in trusted workspaces."
    }
  },
  "activationEvents": [
    "workspaceContains:./pico_sdk_import.cmake",
    "onWebviewPanel:newPicoProject",
    "onWebviewPanel:newPicoMicroPythonProject"
  ],
  "contributes": {
    "commands": [
      {
        "command": "raspberry-pi-pico.newProject",
        "title": "New Pico Project",
        "category": "Raspberry Pi Pico"
      },
      {
        "command": "raspberry-pi-pico.switchSDK",
        "title": "Switch Pico SDK",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject"
      },
      {
        "command": "raspberry-pi-pico.switchBoard",
        "title": "Switch Board",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject"
      },
      {
        "command": "raspberry-pi-pico.launchTargetPath",
        "title": "Get path of the project executable",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getPythonPath",
        "title": "Get python path",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getEnvPath",
        "title": "Get environment path",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getGDBPath",
        "title": "Get GDB path",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getCompilerPath",
        "title": "Get compiler path",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getCxxCompilerPath",
        "title": "Get C++ compiler path",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getChip",
        "title": "Get Chip",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getChipUppercase",
        "title": "Get Chip Uppercase",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getTarget",
        "title": "Get OpenOCD Target",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.getPicotoolPath",
        "title": "Get Picotool path",
        "category": "Raspberry Pi Pico",
        "enablement": "false"
      },
      {
        "command": "raspberry-pi-pico.compileProject",
        "title": "Compile Pico Project",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject"
      },
      {
        "command": "raspberry-pi-pico.runProject",
        "title": "Run Pico Project (USB)",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject"
      },
      {
        "command": "raspberry-pi-pico.clearGithubApiCache",
        "title": "Clear GitHub API cache",
        "category": "Raspberry Pi Pico"
      },
      {
        "command": "raspberry-pi-pico.conditionalDebugging",
        "title": "Conditional Debugging",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject && !inQuickOpen"
      },
      {
        "command": "raspberry-pi-pico.debugLayout",
        "title": "Debug Layout",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject"
      },
      {
        "command": "raspberry-pi-pico.openSdkDocumentation",
        "title": "Open SDK Documentation",
        "category": "Raspberry Pi Pico"
      },
      {
        "command": "raspberry-pi-pico.configureCmake",
        "title": "Configure CMake",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject"
      },
      {
        "command": "raspberry-pi-pico.importProject",
        "title": "Import Pico Project",
        "category": "Raspberry Pi Pico"
      },
      {
        "command": "raspberry-pi-pico.newExampleProject",
        "title": "New Example Pico Project",
        "category": "Raspberry Pi Pico"
      },
      {
        "command": "raspberry-pi-pico.uninstallPicoSDK",
        "title": "Uninstall Pico SDK",
        "category": "Raspberry Pi Pico"
      },
      {
        "command": "raspberry-pi-pico.flashProject",
        "title": "Flash Pico Project (SWD)",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject"
      },
      {
        "command": "raspberry-pi-pico.cleanCmake",
        "title": "Clean CMake",
        "category": "Raspberry Pi Pico",
        "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject"
      }
    ],
    "configuration": {
      "title": "Raspberry Pi Pico Extension",
      "properties": {
        "raspberry-pi-pico.cmakePath": {
          "type": "string",
          "default": "",
          "description": "Path to the CMake executable [no spaces]"
        },
        "raspberry-pi-pico.python3Path": {
          "type": "string",
          "default": "",
          "scope": "machine",
          "description": "Path to the Python executable [no spaces]"
        },
        "raspberry-pi-pico.ninjaPath": {
          "type": "string",
          "default": "",
          "description": "Path to Ninja executable [no spaces]"
        },
        "raspberry-pi-pico.gitPath": {
          "type": "string",
          "default": "",
          "description": "Path to git executable [no spaces]"
        },
        "raspberry-pi-pico.cmakeAutoConfigure": {
          "type": "boolean",
          "default": true,
          "markdownDescription": "Automatically run configure when opening a Pico project"
        },
        "raspberry-pi-pico.useCmakeTools": {
          "type": "boolean",
          "default": false,
          "markdownDescription": "Use the CMake Tools extension for CMake configuration, instead of this extension"
        },
        "raspberry-pi-pico.githubToken": {
          "type": "string",
          "default": "",
          "markdownDescription": "A GitHub personal access token (classic) with the `public_repo` scope. Used to check GitHub for available versions of the Pico SDK and other tools."
        }
      }
    },
    "viewsContainers": {
      "activitybar": [
        {
          "id": "raspberry-pi-pico-project",
          "title": "Raspberry Pi Pico Project",
          "icon": "images/24x24-RPi-Pico.svg"
        }
      ]
    },
    "views": {
      "raspberry-pi-pico-project": [
        {
          "id": "raspberry-pi-pico-project-quick-access",
          "name": "Quick Access",
          "type": "tree"
        }
      ]
    },
    "viewsWelcome": [
      {
        "view": "explorer",
        "contents": "[Create Pico Project](command:raspberry-pi-pico.newProject)\r\nTo learn more about working with the Raspberry Pi Pico SDK see our [Getting Started](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf) guide.",
        "when": "workspaceFolderCount == 0"
      }
    ]
  },
  "scripts": {
    "postinstall": "yarn dlx @yarnpkg/sdks vscode",
    "vscode:uninstall": "node ./dist/vscodeUninstaller.mjs",
    "vscode:prepublish": "yarn run package",
    "compile-uninstaller": "rollup -c uninstall.rollup.config.mjs --environment BUILD:production",
    "compile": "rollup -c",
    "watch": "rollup -cw",
    "package": "rimraf dist && node scripts/build.mjs && yarn run compile-uninstaller",
    "lint": "eslint src",
    "test": "yarn run lint"
  },
  "devDependencies": {
    "@eslint/js": "^9.9.0",
    "@rollup/plugin-commonjs": "^26.0.1",
    "@rollup/plugin-node-resolve": "^15.2.3",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^11.1.6",
    "@types/adm-zip": "^0.5.5",
    "@types/ini": "^4.1.1",
    "@types/node": "20.14.0",
    "@types/uuid": "^10.0.0",
    "@types/vscode": "^1.92.0",
    "@types/which": "^3.0.4",
    "eslint": "^9.9.0",
    "eslint-config-prettier": "^9.1.0",
    "globals": "^15.9.0",
    "rollup": "^4.21.0",
    "tslib": "^2.6.3",
    "typescript": "^5.5.4",
    "typescript-eslint": "^8.1.0"
  },
  "dependencies": {
    "@vscode/python-extension": "^1.0.5",
    "adm-zip": "^0.5.14 <0.5.15",
    "got": "^14.4.2",
    "ini": "^4.1.3",
    "rimraf": "^5.0.7",
    "undici": "^6.19.7",
    "uuid": "^10.0.0",
    "which": "^4.0.0"
  },
  "packageManager": "yarn@4.4.0"
}
