mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Add "Upload and Monitor" task for VSCode
This commit is contained in:
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
|
||||||
// for the documentation about the extensions.json format
|
|
||||||
"recommendations": [
|
|
||||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
|
||||||
"ms-vscode.cpptools",
|
|
||||||
"webfreak.debug"
|
|
||||||
]
|
|
||||||
}
|
|
@ -77,6 +77,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"taskName": "PlatformIO: Upload and Monitor",
|
||||||
|
"args": ["run", "-t", "upload", "-t", "monitor"],
|
||||||
|
"problemMatcher": {
|
||||||
|
"owner": "cpp",
|
||||||
|
"fileLocation": ["relative", "${workspaceRoot}"],
|
||||||
|
"pattern": {
|
||||||
|
"regexp": "^([^:\\n]+):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||||
|
"file": 1,
|
||||||
|
"line": 2,
|
||||||
|
"column": 3,
|
||||||
|
"severity": 4,
|
||||||
|
"message": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"taskName": "PlatformIO: Test",
|
"taskName": "PlatformIO: Test",
|
||||||
"args": ["test"],
|
"args": ["test"],
|
||||||
|
Reference in New Issue
Block a user