You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
358 lines
11 KiB
358 lines
11 KiB
4 years ago
|
{
|
||
|
"patterns": {
|
||
|
"P1": {
|
||
|
"expression": "(path):(line)"
|
||
|
},
|
||
|
"P2": {
|
||
|
"expression": "(path)\\s+(line)",
|
||
|
"path": "(?:\\/[\\w\\.\\-]+)+"
|
||
|
}
|
||
|
},
|
||
|
"commands": [
|
||
|
{
|
||
|
"namespace": "process-palette",
|
||
|
"action": "PIO Build",
|
||
|
"command": "python buildroot/share/vscode/auto_build.py build",
|
||
|
"arguments": [],
|
||
|
"cwd": "{projectPath}",
|
||
|
"inputDialogs": [],
|
||
|
"env": {},
|
||
|
"keystroke": null,
|
||
|
"stream": true,
|
||
|
"outputTarget": "panel",
|
||
|
"outputBufferSize": 80000,
|
||
|
"maxCompleted": 3,
|
||
|
"autoShowOutput": true,
|
||
|
"autoHideOutput": false,
|
||
|
"scrollLockEnabled": false,
|
||
|
"singular": true,
|
||
|
"promptToSave": true,
|
||
|
"saveOption": "none",
|
||
|
"patterns": [
|
||
|
"default"
|
||
|
],
|
||
|
"successOutput": "{stdout}",
|
||
|
"errorOutput": "{stdout}\n{stderr}",
|
||
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"startMessage": "",
|
||
|
"successMessage": "Executed : {fullCommand}",
|
||
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
||
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"menus": [
|
||
|
"Auto Build"
|
||
|
],
|
||
|
"startScript": null,
|
||
|
"successScript": null,
|
||
|
"errorScript": null,
|
||
|
"scriptOnStart": false,
|
||
|
"scriptOnSuccess": false,
|
||
|
"scriptOnError": false,
|
||
|
"notifyOnStart": false,
|
||
|
"notifyOnSuccess": true,
|
||
|
"notifyOnError": true,
|
||
|
"input": null
|
||
|
},
|
||
|
{
|
||
|
"namespace": "process-palette",
|
||
|
"action": "PIO Clean",
|
||
|
"command": "python buildroot/share/vscode/auto_build.py clean",
|
||
|
"arguments": [],
|
||
|
"cwd": "{projectPath}",
|
||
|
"inputDialogs": [],
|
||
|
"env": {},
|
||
|
"keystroke": null,
|
||
|
"stream": true,
|
||
|
"outputTarget": "panel",
|
||
|
"outputBufferSize": 80000,
|
||
|
"maxCompleted": 3,
|
||
|
"autoShowOutput": true,
|
||
|
"autoHideOutput": false,
|
||
|
"scrollLockEnabled": false,
|
||
|
"singular": false,
|
||
|
"promptToSave": true,
|
||
|
"saveOption": "none",
|
||
|
"patterns": [
|
||
|
"default"
|
||
|
],
|
||
|
"successOutput": "{stdout}",
|
||
|
"errorOutput": "{stdout}\n{stderr}",
|
||
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"startMessage": null,
|
||
|
"successMessage": "Executed : {fullCommand}",
|
||
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
||
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"menus": [
|
||
|
"Auto Build"
|
||
|
],
|
||
|
"startScript": null,
|
||
|
"successScript": null,
|
||
|
"errorScript": null,
|
||
|
"scriptOnStart": false,
|
||
|
"scriptOnSuccess": false,
|
||
|
"scriptOnError": false,
|
||
|
"notifyOnStart": false,
|
||
|
"notifyOnSuccess": true,
|
||
|
"notifyOnError": true,
|
||
|
"input": null
|
||
|
},
|
||
|
{
|
||
|
"namespace": "process-palette",
|
||
|
"action": "PIO Upload",
|
||
|
"command": "python buildroot/share/vscode/auto_build.py upload",
|
||
|
"arguments": [],
|
||
|
"cwd": "{projectPath}",
|
||
|
"inputDialogs": [],
|
||
|
"env": {},
|
||
|
"keystroke": null,
|
||
|
"stream": true,
|
||
|
"outputTarget": "panel",
|
||
|
"outputBufferSize": 80000,
|
||
|
"maxCompleted": 3,
|
||
|
"autoShowOutput": true,
|
||
|
"autoHideOutput": false,
|
||
|
"scrollLockEnabled": false,
|
||
|
"singular": false,
|
||
|
"promptToSave": true,
|
||
|
"saveOption": "none",
|
||
|
"patterns": [
|
||
|
"default"
|
||
|
],
|
||
|
"successOutput": "{stdout}",
|
||
|
"errorOutput": "{stdout}\n{stderr}",
|
||
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"startMessage": null,
|
||
|
"successMessage": "Executed : {fullCommand}",
|
||
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
||
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"menus": [
|
||
|
"Auto Build"
|
||
|
],
|
||
|
"startScript": null,
|
||
|
"successScript": null,
|
||
|
"errorScript": null,
|
||
|
"scriptOnStart": false,
|
||
|
"scriptOnSuccess": false,
|
||
|
"scriptOnError": false,
|
||
|
"notifyOnStart": false,
|
||
|
"notifyOnSuccess": true,
|
||
|
"notifyOnError": true,
|
||
|
"input": null
|
||
|
},
|
||
|
{
|
||
|
"namespace": "process-palette",
|
||
|
"action": "PIO Upload (traceback)",
|
||
|
"command": "python buildroot/share/vscode/auto_build.py traceback",
|
||
|
"arguments": [],
|
||
|
"cwd": "{projectPath}",
|
||
|
"inputDialogs": [],
|
||
|
"env": {},
|
||
|
"keystroke": null,
|
||
|
"stream": true,
|
||
|
"outputTarget": "panel",
|
||
|
"outputBufferSize": 80000,
|
||
|
"maxCompleted": 3,
|
||
|
"autoShowOutput": true,
|
||
|
"autoHideOutput": false,
|
||
|
"scrollLockEnabled": false,
|
||
|
"singular": false,
|
||
|
"promptToSave": true,
|
||
|
"saveOption": "none",
|
||
|
"patterns": [
|
||
|
"default"
|
||
|
],
|
||
|
"successOutput": "{stdout}",
|
||
|
"errorOutput": "{stdout}\n{stderr}",
|
||
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"startMessage": null,
|
||
|
"successMessage": "Executed : {fullCommand}",
|
||
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
||
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"menus": [
|
||
|
"Auto Build"
|
||
|
],
|
||
|
"startScript": null,
|
||
|
"successScript": null,
|
||
|
"errorScript": null,
|
||
|
"scriptOnStart": false,
|
||
|
"scriptOnSuccess": false,
|
||
|
"scriptOnError": false,
|
||
|
"notifyOnStart": false,
|
||
|
"notifyOnSuccess": true,
|
||
|
"notifyOnError": true,
|
||
|
"input": null
|
||
|
},
|
||
|
{
|
||
|
"namespace": "process-palette",
|
||
|
"action": "PIO Upload using Programmer",
|
||
|
"command": "python buildroot/share/vscode/auto_build.py program",
|
||
|
"arguments": [],
|
||
|
"cwd": "{projectPath}",
|
||
|
"inputDialogs": [],
|
||
|
"env": {},
|
||
|
"keystroke": null,
|
||
|
"stream": true,
|
||
|
"outputTarget": "panel",
|
||
|
"outputBufferSize": 80000,
|
||
|
"maxCompleted": 3,
|
||
|
"autoShowOutput": true,
|
||
|
"autoHideOutput": false,
|
||
|
"scrollLockEnabled": false,
|
||
|
"singular": false,
|
||
|
"promptToSave": true,
|
||
|
"saveOption": "none",
|
||
|
"patterns": [
|
||
|
"default"
|
||
|
],
|
||
|
"successOutput": "{stdout}",
|
||
|
"errorOutput": "{stdout}\n{stderr}",
|
||
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"startMessage": null,
|
||
|
"successMessage": "Executed : {fullCommand}",
|
||
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
||
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"menus": [
|
||
|
"Auto Build"
|
||
|
],
|
||
|
"startScript": null,
|
||
|
"successScript": null,
|
||
|
"errorScript": null,
|
||
|
"scriptOnStart": false,
|
||
|
"scriptOnSuccess": false,
|
||
|
"scriptOnError": false,
|
||
|
"notifyOnStart": false,
|
||
|
"notifyOnSuccess": true,
|
||
|
"notifyOnError": true,
|
||
|
"input": null
|
||
|
},
|
||
|
{
|
||
|
"namespace": "process-palette",
|
||
|
"action": "PIO Test",
|
||
|
"command": "python buildroot/share/vscode/auto_build.py test",
|
||
|
"arguments": [],
|
||
|
"cwd": "{projectPath}",
|
||
|
"inputDialogs": [],
|
||
|
"env": {},
|
||
|
"keystroke": null,
|
||
|
"stream": true,
|
||
|
"outputTarget": "panel",
|
||
|
"outputBufferSize": 80000,
|
||
|
"maxCompleted": 3,
|
||
|
"autoShowOutput": true,
|
||
|
"autoHideOutput": false,
|
||
|
"scrollLockEnabled": false,
|
||
|
"singular": false,
|
||
|
"promptToSave": true,
|
||
|
"saveOption": "none",
|
||
|
"patterns": [
|
||
|
"default"
|
||
|
],
|
||
|
"successOutput": "{stdout}",
|
||
|
"errorOutput": "{stdout}\n{stderr}",
|
||
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"startMessage": null,
|
||
|
"successMessage": "Executed : {fullCommand}",
|
||
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
||
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"menus": [
|
||
|
"Auto Build"
|
||
|
],
|
||
|
"startScript": null,
|
||
|
"successScript": null,
|
||
|
"errorScript": null,
|
||
|
"scriptOnStart": false,
|
||
|
"scriptOnSuccess": false,
|
||
|
"scriptOnError": false,
|
||
|
"notifyOnStart": false,
|
||
|
"notifyOnSuccess": true,
|
||
|
"notifyOnError": true,
|
||
|
"input": null
|
||
|
},
|
||
|
{
|
||
|
"namespace": "process-palette",
|
||
|
"action": "PIO Debug",
|
||
|
"command": "python buildroot/share/vscode/auto_build.py debug",
|
||
|
"arguments": [],
|
||
|
"cwd": "{projectPath}",
|
||
|
"inputDialogs": [],
|
||
|
"env": {},
|
||
|
"keystroke": null,
|
||
|
"stream": true,
|
||
|
"outputTarget": "panel",
|
||
|
"outputBufferSize": 80000,
|
||
|
"maxCompleted": 3,
|
||
|
"autoShowOutput": true,
|
||
|
"autoHideOutput": false,
|
||
|
"scrollLockEnabled": false,
|
||
|
"singular": false,
|
||
|
"promptToSave": true,
|
||
|
"saveOption": "none",
|
||
|
"patterns": [
|
||
|
"default"
|
||
|
],
|
||
|
"successOutput": "{stdout}",
|
||
|
"errorOutput": "{stdout}\n{stderr}",
|
||
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"startMessage": null,
|
||
|
"successMessage": "Executed : {fullCommand}",
|
||
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
||
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"menus": [
|
||
|
"Auto Build"
|
||
|
],
|
||
|
"startScript": null,
|
||
|
"successScript": null,
|
||
|
"errorScript": null,
|
||
|
"scriptOnStart": false,
|
||
|
"scriptOnSuccess": false,
|
||
|
"scriptOnError": false,
|
||
|
"notifyOnStart": false,
|
||
|
"notifyOnSuccess": true,
|
||
|
"notifyOnError": true,
|
||
|
"input": null
|
||
|
},
|
||
|
{
|
||
|
"namespace": "process-palette",
|
||
|
"action": "PIO Remote",
|
||
|
"command": "python buildroot/share/vscode/auto_build.py remote",
|
||
|
"arguments": [],
|
||
|
"cwd": "{projectPath}",
|
||
|
"inputDialogs": [],
|
||
|
"env": {},
|
||
|
"keystroke": null,
|
||
|
"stream": true,
|
||
|
"outputTarget": "panel",
|
||
|
"outputBufferSize": 80000,
|
||
|
"maxCompleted": 3,
|
||
|
"autoShowOutput": true,
|
||
|
"autoHideOutput": false,
|
||
|
"scrollLockEnabled": false,
|
||
|
"singular": false,
|
||
|
"promptToSave": true,
|
||
|
"saveOption": "none",
|
||
|
"patterns": [
|
||
|
"default"
|
||
|
],
|
||
|
"successOutput": "{stdout}",
|
||
|
"errorOutput": "{stdout}\n{stderr}",
|
||
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"startMessage": null,
|
||
|
"successMessage": "Executed : {fullCommand}",
|
||
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
||
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
||
|
"menus": [
|
||
|
"Auto Build"
|
||
|
],
|
||
|
"startScript": null,
|
||
|
"successScript": null,
|
||
|
"errorScript": null,
|
||
|
"scriptOnStart": false,
|
||
|
"scriptOnSuccess": false,
|
||
|
"scriptOnError": false,
|
||
|
"notifyOnStart": false,
|
||
|
"notifyOnSuccess": true,
|
||
|
"notifyOnError": true,
|
||
|
"input": null
|
||
|
}
|
||
|
]
|
||
|
}
|