{ "name": "platformio-ide", "version": "3.3.4", "publisher": "platformio", "engines": { "vscode": "^1.65.0" }, "license": "Apache-2.0", "displayName": "PlatformIO IDE", "description": "Your Gateway to Embedded Software Development Excellence: CMSIS, ESP-IDF, FreeRTOS, libOpenCM3, mbed OS, SPL, STM32Cube, Zephyr RTOS, Arduino, ARM, AVR, Espressif (ESP8266/ESP32), FPGA, MCS-51 (8051), MSP430, Nordic (nRF51/nRF52), PIC32, RISC-V, Raspberry Pi (RP2040), STMicroelectronics (STM8/STM32), Teensy", "categories": [ "Programming Languages", "Linters", "Debuggers", "Testing", "Other" ], "keywords": [ "embedded", "microcontroller", "arm", "risc-v", "arduino" ], "main": "./dist/extension", "icon": "assets/images/platformio-logo.png", "homepage": "https://platformio.org", "author": { "name": "PlatformIO Labs" }, "bugs": { "url": "https://github.com/platformio/platformio-vscode-ide/issues" }, "repository": { "type": "git", "url": "https://github.com/platformio/platformio-vscode-ide.git" }, "activationEvents": [ "workspaceContains:**/platformio.ini" ], "contributes": { "languages": [ { "id": "platformio-debug.disassembly", "aliases": [ "Disassembly" ], "extensions": [ ".dbgasm" ] }, { "id": "platformio-debug.memoryview", "aliases": [ "Memory" ], "extensions": [ ".dbgmem" ] }, { "id": "platformio-debug.asm", "aliases": [ "Assembly", "asm" ], "extensions": [ ".asm", ".nasm", ".yasm", ".inc", ".s" ], "configuration": "./syntaxes/assembly-configuration.json" } ], "grammars": [ { "language": "platformio-debug.disassembly", "scopeName": "source.platformio-debug-disassembly", "path": "./syntaxes/platformio-debug-disassembly.json" }, { "language": "platformio-debug.memoryview", "scopeName": "source.platformio-debug-memoryview", "path": "./syntaxes/platformio-debug-memoryview.json" }, { "language": "platformio-debug.asm", "scopeName": "source.platformio-debug-asm", "path": "./syntaxes/assembly.tmLanguage" } ], "commands": [ { "command": "platformio-ide.showReleaseNotes", "title": "Show Release Notes", "category": "PlatformIO" }, { "command": "platformio-ide.showHome", "title": "PlatformIO Home", "category": "PlatformIO" }, { "command": "platformio-ide.openPIOCoreCLI", "title": "Open PlatformIO Core CLI", "category": "PlatformIO" }, { "command": "platformio-ide.newTerminal", "title": "New Terminal", "category": "PlatformIO", "enablement": "pioCoreReady" }, { "command": "platformio-ide.upgradeCore", "title": "Upgrade PlatformIO Core", "category": "PlatformIO", "enablement": "pioCoreReady" }, { "command": "platformio-ide.pickProjectEnv", "title": "Pick Project Environment", "category": "PlatformIO", "icon": "$(root-folder)", "enablement": "pioProjectReady" }, { "command": "platformio-ide.setProjectPort", "title": "Set Project Port (upload/monitor/test)", "category": "PlatformIO", "icon": "$(plug)", "enablement": "pioProjectReady" }, { "command": "platformio-ide.toggleMultiEnvProjectTasks", "title": "Toggle between Multi Environment Project Tasks", "category": "PlatformIO", "icon": "$(layers)", "enablement": "pioProjectTasksReady" }, { "command": "platformio-ide.refreshProjectTasks", "title": "Refresh Project Tasks", "category": "PlatformIO", "icon": "$(refresh)", "enablement": "pioProjectTasksReady" }, { "command": "platformio-ide.build", "title": "Build", "category": "PlatformIO", "icon": "$(check)", "enablement": "pioProjectTasksReady" }, { "command": "platformio-ide.upload", "title": "Upload", "category": "PlatformIO", "icon": "$(arrow-right)", "enablement": "pioProjectTasksReady" }, { "command": "platformio-ide.uploadAndMonitor", "title": "Upload and Monitor", "category": "PlatformIO", "icon": "$(arrow-right)", "enablement": "pioProjectTasksReady" }, { "command": "platformio-ide.clean", "title": "Clean", "category": "PlatformIO", "icon": "$(trashcan)", "enablement": "pioProjectTasksReady" }, { "command": "platformio-ide.serialMonitor", "title": "Serial Monitor", "category": "PlatformIO", "icon": "$(plug)", "enablement": "pioProjectReady" }, { "command": "platformio-ide.test", "title": "Test", "category": "PlatformIO", "icon": "$(beaker)", "enablement": "pioProjectTasksReady" }, { "command": "platformio-ide.rebuildProjectIndex", "title": "Rebuild IntelliSense Index", "category": "PlatformIO", "enablement": "pioProjectTasksReady" }, { "command": "platformio-ide.startDebugging", "title": "Start Debugging", "category": "PlatformIO", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.peripherals.updateNode", "title": "Update Value", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.peripherals.selectedNode", "title": "Selected", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.registers.selectedNode", "title": "Selected", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.peripherals.copyValue", "title": "Copy Value", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.registers.copyValue", "title": "Copy Value", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.peripherals.setFormat", "title": "Set Value Format", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.registers.setFormat", "title": "Set Value Format", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.examineMemory", "title": " View Memory", "icon": { "light": "assets/icons/add.svg", "dark": "assets/icons/add-inverse.svg" }, "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.memory.clearHistory", "title": "Clear Memory View History", "icon": { "light": "assets/icons/closeall.svg", "dark": "assets/icons/closeall-inverse.svg" }, "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.memory.deleteHistoryItem", "title": "Delete", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.viewDisassembly", "title": "View Disassembly (Function)", "enablement": "pioProjectReady" }, { "category": "PlatformIO Debug", "command": "platformio-debug.setForceDisassembly", "title": "Set Force Disassembly", "enablement": "pioProjectReady" } ], "breakpoints": [ { "language": "c" }, { "language": "cpp" }, { "language": "platformio-debug.asm" }, { "language": "platformio-debug.disassembly" } ], "debuggers": [ { "configurationAttributes": { "launch": { "properties": { "executable": { "description": "Path of firmware or program", "type": "string" }, "toolchainBinDir": { "description": "Path of toolchain binary directory", "type": "string" }, "projectEnvName": { "description": "Working project environment", "type": "string" }, "svdPath": { "default": null, "description": "Path to an SVD file describing the peripherals of the microcontroller", "type": [ "string", "null" ] }, "loadMode": { "description": "Control when PlatformIO should load debugging firmware to the end target (see docs for `debug_load_mode` option)", "default": null, "type": [ "string", "null" ], "enum": [ "always", "modified", "manual" ] }, "showDevDebugOutput": { "default": false, "description": "Prints all GDB responses to the console", "type": "boolean" } }, "required": [ "executable", "toolchainBinDir" ] } }, "initialConfigurations": [ { "name": "PlatformIO Debugger", "request": "launch", "type": "platformio-debug", "toolchainBinDir": "/usr/local/bin" } ], "configurationSnippets": [ { "body": { "name": "${6:PlatformIO Debugger}", "request": "launch", "type": "platformio-debug", "executable": ".pio/build/myenv/firmware.elf", "toolchainBinDir": "/usr/local/bin" }, "description": "PlatformIO Debugger", "label": "PlatformIO Debugger" } ], "label": "PlatformIO Debugger", "program": "./node_modules/platformio-vscode-debug/dist/adapter.js", "runtime": "node", "type": "platformio-debug" } ], "menus": { "commandPalette": [ { "command": "platformio-debug.examineMemory", "when": "debugType == platformio-debug" }, { "command": "platformio-debug.memory.clearHistory", "when": "debugType == platformio-debug" }, { "command": "platformio-debug.viewDisassembly", "when": "debugType == platformio-debug" }, { "command": "platformio-debug.setForceDisassembly", "when": "debugType == platformio-debug" } ], "view/item/context": [ { "command": "platformio-debug.peripherals.updateNode", "when": "view == platformio-debug.peripherals && viewItem == field" }, { "command": "platformio-debug.peripherals.updateNode", "when": "view == platformio-debug.peripherals && viewItem == registerRW" }, { "command": "platformio-debug.peripherals.updateNode", "when": "view == platformio-debug.peripherals && viewItem == registerWO" }, { "command": "platformio-debug.peripherals.copyValue", "when": "view == platformio-debug.peripherals && viewItem == field" }, { "command": "platformio-debug.peripherals.copyValue", "when": "view == platformio-debug.peripherals && viewItem == registerRW" }, { "command": "platformio-debug.peripherals.copyValue", "when": "view == platformio-debug.peripherals && viewItem == registerRO" }, { "command": "platformio-debug.registers.copyValue", "when": "view == platformio-debug.registers && viewItem == register" }, { "command": "platformio-debug.registers.copyValue", "when": "view == platformio-debug.registers && viewItem == field" }, { "command": "platformio-debug.peripherals.setFormat", "when": "view == platformio-debug.peripherals" }, { "command": "platformio-debug.registers.setFormat", "when": "view == platformio-debug.registers" }, { "command": "platformio-debug.memory.deleteHistoryItem", "when": "view == platformio-debug.memory", "group": "inline" } ], "view/title": [ { "command": "platformio-ide.pickProjectEnv", "when": "pioProjectTasksReady && pioMultiEnvProject && view == platformio-ide.projectTasks", "group": "navigation" }, { "command": "platformio-ide.toggleMultiEnvProjectTasks", "when": "pioProjectTasksReady && view == platformio-ide.projectTasks", "group": "navigation" }, { "command": "platformio-ide.refreshProjectTasks", "when": "pioProjectTasksReady && view == platformio-ide.projectTasks", "group": "navigation" }, { "command": "platformio-debug.examineMemory", "when": "debugType == platformio-debug && view == platformio-debug.memory", "group": "navigation" }, { "command": "platformio-debug.memory.clearHistory", "when": "debugType == platformio-debug && view == platformio-debug.memory", "group": "navigation" } ], "editor/title/run": [ { "command": "platformio-ide.build", "when": "pioProjectReady && config.platformio-ide.showEditorTitleShortcuts", "group": "pio_run@0" }, { "command": "platformio-ide.upload", "when": "pioProjectReady && config.platformio-ide.showEditorTitleShortcuts", "group": "pio_run@1" }, { "command": "platformio-ide.test", "when": "pioProjectReady && config.platformio-ide.showEditorTitleShortcuts", "group": "pio_run@2" }, { "command": "platformio-ide.clean", "when": "pioProjectReady && config.platformio-ide.showEditorTitleShortcuts", "group": "pio_run@3" } ], "editor/title": [ { "command": "platformio-ide.serialMonitor", "when": "pioCoreReady && config.platformio-ide.showEditorTitleShortcuts", "group": "navigation" } ], "file/newFile": [ { "command": "platformio-ide.showHome", "when": "pioCoreReady", "group": "navigation" } ], "touchBar": [ { "command": "platformio-ide.build", "when": "pioProjectReady && config.platformio-ide.showEditorTitleShortcuts", "group": "z_pio_run@0" }, { "command": "platformio-ide.upload", "when": "pioProjectReady && config.platformio-ide.showEditorTitleShortcuts", "group": "z_pio_run@1" }, { "command": "platformio-ide.test", "when": "pioProjectReady && config.platformio-ide.showEditorTitleShortcuts", "group": "z_pio_run@2" }, { "command": "platformio-ide.clean", "when": "pioProjectReady && config.platformio-ide.showEditorTitleShortcuts", "group": "z_pio_run@3" }, { "command": "platformio-ide.serialMonitor", "when": "pioCoreReady && config.platformio-ide.showEditorTitleShortcuts", "group": "z_pio_tools" } ] }, "viewsContainers": { "activitybar": [ { "id": "platformio", "title": "PlatformIO", "icon": "assets/icons/platformio-activity-icon.svg" } ] }, "views": { "platformio": [ { "id": "platformio-ide.projectTasks", "name": "Project Tasks", "when": "pioCoreReady", "type": "tree" }, { "id": "platformio-ide.quickAccess", "name": "Quick Access", "type": "tree" } ], "debug": [ { "id": "platformio-debug.peripherals", "name": "Peripherals" }, { "id": "platformio-debug.registers", "name": "Registers" }, { "id": "platformio-debug.memory", "name": "Memory" }, { "id": "platformio-debug.disassembly", "name": "Disassembly" } ] }, "viewsWelcome": [ { "view": "platformio-ide.projectTasks", "contents": "You have not yet opened a PlatformIO project.\nYou can open an existing PlatformIO-based project (a folder that contains [platformio.ini](https://bit.ly/vscode-platformio-ini-docs) file).\n[Pick a folder](command:workbench.action.files.openFolder)\nYou can create a new PlatformIO Project or explore examples using PlatformIO Home.\n[Create New Project](command:platformio-ide.showHome)" }, { "view": "platformio-ide.quickAccess", "contents": "Initializing PlatformIO Core..." } ], "walkthroughs": [ { "id": "platformio-ide.welcome", "title": "Get started with PlatformIO IDE", "description": "The most loved IDE solution for Microsoft Visual Studio Code", "steps": [ { "id": "platformio-core", "title": "Rich CLI developed for Humans", "description": "[PlatformIO Core](https://bit.ly/vscode-platformio-core-docs) is the heart of PlatformIO IDE and it's your one-stop shop for professional embedded development.\nIt takes care of everything from dependency management to testing, so you can focus on what matters most โ€“ your project.\n[Install PlatformIO Core](command:platformio-ide.openPIOCoreCLI)", "media": { "image": "assets/welcome/platformio-core-cli-demo.png", "altText": "PlatformIO Core CLI Demo" }, "completionEvents": [ "onContext:pioCoreReady" ] }, { "id": "platformio.ini", "title": "Platform-agnostic shareable configuration", "description": "[platformio.ini](https://bit.ly/vscode-platformio-ini-docs) is the single configuration file that lets you set up your development environment and share your configurations with your team or organization.\nLeverage a declarative approach to embedded development and the power of semantic versioning.\n[Learn More](https://bit.ly/vscode-platformio-ini-docs)", "media": { "markdown": "assets/welcome/platformio-ini-example.md" }, "completionEvents": [ "onLink:https://bit.ly/vscode-platformio-ini-docs" ] }, { "id": "platformio-home", "title": "Advanced project management", "description": "Boost your product development with [PIO Home](https://bit.ly/vscode-platformio-home-docs) โ€“ a powerful, modern, and interactive user interface for advanced project management.\nIt allows you to enhance your project source code with advanced instruments such as firmware explorer, memory inspection, and static code analysis.\n[Open PIO Home](command:platformio-ide.showHome)\nTip: Use ๐Ÿ  icon at the bottom status bar.", "media": { "image": "assets/welcome/project-inspection-demo.png", "altText": "PlatformIO Project Inspection Demo" } }, { "id": "explore-more-resources", "title": "Explore more resources", "description": "๐Ÿ“ฆ Browse over 10,000 libraries from software vendors, open-source projects, and the community in the [PlatformIO Registry](https://bit.ly/platformio-registry).\n๐Ÿš€ Learn more about getting started with [PlatformIO IDE for VSCode](https://bit.ly/platformio-ide-for-vscode-docs).\n๐Ÿงก Have any ideas or need help with your project? Ask our awesome [PlatformIO Community](https://community.platformio.org/).\n[Learn More](https://bit.ly/platformio-ide-for-vscode-docs)", "media": { "image": "assets/welcome/platformio-package-registry-demo.png", "altText": "PlatformIO Package Registry" }, "completionEvents": [ "onLink:https://bit.ly/platformio-ide-for-vscode-docs" ] }, { "id": "ready-to-start", "title": "Ready to start?", "description": "Navigate to the PlatformIO IDE View in the left activity bar and open an existing project or create a new one.\n[Open PlatformIO IDE View](command:workbench.view.extension.platformio)", "media": { "image": "assets/welcome/platformio-ide-view-demo.png", "altText": "PlatformIO IDE View" }, "completionEvents": [ "onView:platformio-ide.projectTasks" ] } ] } ], "keybindings": [ { "command": "platformio-ide.build", "key": "ctrl+alt+b", "when": "pioProjectReady" }, { "command": "platformio-ide.upload", "key": "ctrl+alt+u", "when": "pioProjectReady" }, { "command": "platformio-ide.serialMonitor", "key": "ctrl+alt+s", "when": "pioProjectReady" } ], "taskDefinitions": [ { "type": "PlatformIO", "required": [ "task" ], "properties": { "task": { "type": "string", "description": "PlatformIO Task ID" } } } ], "problemMatchers": [ { "name": "platformio", "owner": "cpp", "fileLocation": [ "relative", "${workspaceFolder}" ], "pattern": { "regexp": "^([^:\\n]+):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } } ], "configurationDefaults": { "C_Cpp.debugShortcut": false }, "configuration": { "type": "object", "title": "PlatformIO IDE", "properties": { "platformio-ide.activateProjectOnTextEditorChange": { "type": "boolean", "default": false, "description": "Automatically activate project depending on an active opened text editor" }, "platformio-ide.autoOpenPlatformIOIniFile": { "type": "boolean", "default": true, "description": "Automatically open the `platformio.ini` file from a project when no other editors are opened" }, "platformio-ide.autoCloseSerialMonitor": { "type": "boolean", "default": true, "description": "Automatically close Serial Port Monitor before uploading/testing" }, "platformio-ide.autoRebuildAutocompleteIndex": { "type": "boolean", "default": true, "description": "Automatically rebuild the project IntelliSense index when platformio.ini is changed or when new libraries are installed" }, "platformio-ide.showEditorTitleShortcuts": { "type": "boolean", "default": true, "description": "Show Build, Upload, Clean, and other buttons in the editor title bar" }, "platformio-ide.autoPreloadEnvTasks": { "type": "boolean", "default": false, "description": "Automatically preload ALL project environment tasks" }, "platformio-ide.customPATH": { "type": [ "string", "null" ], "default": null, "description": "Custom PATH for the `platformio` command, if you prefer to use a custom version of PlatformIO Core. Fill in the result of the system terminal command `echo $PATH` (Unix) / `echo %PATH%` (Windows)." }, "platformio-ide.reopenSerialMonitorDelay": { "type": "integer", "default": 0, "minimum": 0, "description": "Time in milliseconds after which the Serial Port Monitor is reopened" }, "platformio-ide.useBuiltinPython": { "type": "boolean", "default": true, "description": "Use a portable Python 3 Interpreter if available" }, "platformio-ide.useBuiltinPIOCore": { "type": "boolean", "default": true, "description": "Use a built-in PlatformIO Core" }, "platformio-ide.useDevelopmentPIOCore": { "type": "boolean", "default": false, "description": "Use a development version of PlatformIO Core" }, "platformio-ide.disablePIOHomeStartup": { "type": "boolean", "default": false, "description": "Disable showing PIO Home at startup" }, "platformio-ide.pioHomeServerHttpHost": { "type": "string", "default": "127.0.0.1", "description": "PIO Home server HTTP host (default is 127.0.0.1, but in case of dockerized environments 0.0.0.0)" }, "platformio-ide.pioHomeServerHttpPort": { "type": "integer", "description": "PIO Home server HTTP port (the default value 0 automatically assigns a free port in the range [45000..45999])" }, "platformio-ide.customPyPiIndexUrl": { "type": [ "string", "null" ], "default": null, "description": "Custom base URL of the Python Package Index (default `https://pypi.org/simple`)" }, "platformio-ide.toolbar": { "description": "PlatformIO Toolbar", "type": "array", "items": { "type": "object", "title": "Button", "properties": { "text": { "type": "string", "description": "The text to show for the button", "required": true }, "tooltip": { "type": "string", "description": "The tooltip text when you hover over this button" }, "commands": { "description": "The button command or list of commands to execute", "anyOf": [ { "type": "string", "title": "The command identifier" }, { "type": "array", "items": { "type": "string", "title": "The command identifier" } }, { "type": "array", "items": { "type": "object", "title": "Command", "properties": { "id": { "type": "string", "title": "The command identifier" }, "args": { "type": [ "array", "string", "object", "null" ], "description": "The button command arguments", "default": null } } } } ] } } }, "default": [ { "text": "$(home)", "tooltip": "PlatformIO: Home", "commands": "platformio-ide.showHome" }, { "text": "$(check)", "tooltip": "PlatformIO: Build", "commands": "platformio-ide.build" }, { "text": "$(arrow-right)", "tooltip": "PlatformIO: Upload", "commands": "platformio-ide.upload" }, { "text": "$(trashcan)", "tooltip": "PlatformIO: Clean", "commands": "platformio-ide.clean" }, { "text": "$(beaker)", "tooltip": "PlatformIO: Test", "commands": "platformio-ide.test" }, { "text": "$(plug)", "tooltip": "PlatformIO: Serial Monitor", "commands": "platformio-ide.serialMonitor" }, { "text": "$(terminal)", "tooltip": "PlatformIO: New Terminal", "commands": "platformio-ide.newTerminal" } ] } } } }, "scripts": { "build": "webpack --mode production", "lint": "eslint .eslintrc.js src", "format": "prettier --single-quote --print-width 88 --write \"src/**/*.js\"", "vscode:package": "webpack --mode production && vsce package" }, "dependencies": { "fs-plus": "~3.1.1", "platformio-node-helpers": "~11.3.0", "platformio-vscode-debug": "~1.4.1" }, "devDependencies": { "@types/node": "~14", "@types/vscode": "~1.65.0", "@vscode/vsce": "~3.2.1", "eslint": "^8", "eslint-import-resolver-webpack": "~0.13.10", "eslint-plugin-import": "~2.31.0", "prettier": "~3.4.2", "webpack": "~5.97.1", "webpack-cli": "~6.0.1" }, "extensionDependencies": [ "ms-vscode.cpptools" ] }