platformio / platformio/platformio-docs
VSCode custom command question
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 285
- Forks
- 357
- PR merge metrics
- No merged PRs in 30d
Description
Can't understand how I can run custom command with VS Code.
Try add this to tasks.json, but It doesn't work.
{
"type": "shell",
"task": "Monitor 115200",
"command": "platformio",
"args": [
"--baud", "115200",
"--port", "/dev/cu.wchusbserial1420",
],
"problemMatcher": [
"$platformio"
],
"label": "PlatformIO: Monitor 115200"
}
Executing task: platformio --baud 115200 --port /dev/cu.wchusbserial1420 <
/bin/bash: platformio: command not found
Не удалось запустить процесс терминала "/bin/bash '-c', 'platformio --baud 115200 --port /dev/cu.wchusbserial1420'" (код выхода: 127).
pio also doesn't work.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the VS Code tasks.json example and the reported command output showing that platformio and pio cannot be found. Reproduce the custom task setup, then update the documentation to explain the supported command and required environment so the task runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100