process-palette.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. {
  2. "patterns": {
  3. "P1": {
  4. "expression": "(path):(line)"
  5. },
  6. "P2": {
  7. "expression": "(path)\\s+(line)",
  8. "path": "(?:\\/[\\w\\.\\-]+)+"
  9. }
  10. },
  11. "commands": [
  12. {
  13. "namespace": "process-palette",
  14. "action": "PIO Build",
  15. "command": "python buildroot/share/vscode/auto_build.py build",
  16. "arguments": [],
  17. "cwd": "{projectPath}",
  18. "inputDialogs": [],
  19. "env": {},
  20. "keystroke": null,
  21. "stream": true,
  22. "outputTarget": "panel",
  23. "outputBufferSize": 80000,
  24. "maxCompleted": 3,
  25. "autoShowOutput": true,
  26. "autoHideOutput": false,
  27. "scrollLockEnabled": false,
  28. "singular": true,
  29. "promptToSave": true,
  30. "saveOption": "none",
  31. "patterns": [
  32. "default"
  33. ],
  34. "successOutput": "{stdout}",
  35. "errorOutput": "{stdout}\n{stderr}",
  36. "fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  37. "startMessage": "",
  38. "successMessage": "Executed : {fullCommand}",
  39. "errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
  40. "fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  41. "menus": [
  42. "Auto Build"
  43. ],
  44. "startScript": null,
  45. "successScript": null,
  46. "errorScript": null,
  47. "scriptOnStart": false,
  48. "scriptOnSuccess": false,
  49. "scriptOnError": false,
  50. "notifyOnStart": false,
  51. "notifyOnSuccess": true,
  52. "notifyOnError": true,
  53. "input": null
  54. },
  55. {
  56. "namespace": "process-palette",
  57. "action": "PIO Clean",
  58. "command": "python buildroot/share/vscode/auto_build.py clean",
  59. "arguments": [],
  60. "cwd": "{projectPath}",
  61. "inputDialogs": [],
  62. "env": {},
  63. "keystroke": null,
  64. "stream": true,
  65. "outputTarget": "panel",
  66. "outputBufferSize": 80000,
  67. "maxCompleted": 3,
  68. "autoShowOutput": true,
  69. "autoHideOutput": false,
  70. "scrollLockEnabled": false,
  71. "singular": false,
  72. "promptToSave": true,
  73. "saveOption": "none",
  74. "patterns": [
  75. "default"
  76. ],
  77. "successOutput": "{stdout}",
  78. "errorOutput": "{stdout}\n{stderr}",
  79. "fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  80. "startMessage": null,
  81. "successMessage": "Executed : {fullCommand}",
  82. "errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
  83. "fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  84. "menus": [
  85. "Auto Build"
  86. ],
  87. "startScript": null,
  88. "successScript": null,
  89. "errorScript": null,
  90. "scriptOnStart": false,
  91. "scriptOnSuccess": false,
  92. "scriptOnError": false,
  93. "notifyOnStart": false,
  94. "notifyOnSuccess": true,
  95. "notifyOnError": true,
  96. "input": null
  97. },
  98. {
  99. "namespace": "process-palette",
  100. "action": "PIO Upload",
  101. "command": "python buildroot/share/vscode/auto_build.py upload",
  102. "arguments": [],
  103. "cwd": "{projectPath}",
  104. "inputDialogs": [],
  105. "env": {},
  106. "keystroke": null,
  107. "stream": true,
  108. "outputTarget": "panel",
  109. "outputBufferSize": 80000,
  110. "maxCompleted": 3,
  111. "autoShowOutput": true,
  112. "autoHideOutput": false,
  113. "scrollLockEnabled": false,
  114. "singular": false,
  115. "promptToSave": true,
  116. "saveOption": "none",
  117. "patterns": [
  118. "default"
  119. ],
  120. "successOutput": "{stdout}",
  121. "errorOutput": "{stdout}\n{stderr}",
  122. "fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  123. "startMessage": null,
  124. "successMessage": "Executed : {fullCommand}",
  125. "errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
  126. "fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  127. "menus": [
  128. "Auto Build"
  129. ],
  130. "startScript": null,
  131. "successScript": null,
  132. "errorScript": null,
  133. "scriptOnStart": false,
  134. "scriptOnSuccess": false,
  135. "scriptOnError": false,
  136. "notifyOnStart": false,
  137. "notifyOnSuccess": true,
  138. "notifyOnError": true,
  139. "input": null
  140. },
  141. {
  142. "namespace": "process-palette",
  143. "action": "PIO Upload (traceback)",
  144. "command": "python buildroot/share/vscode/auto_build.py traceback",
  145. "arguments": [],
  146. "cwd": "{projectPath}",
  147. "inputDialogs": [],
  148. "env": {},
  149. "keystroke": null,
  150. "stream": true,
  151. "outputTarget": "panel",
  152. "outputBufferSize": 80000,
  153. "maxCompleted": 3,
  154. "autoShowOutput": true,
  155. "autoHideOutput": false,
  156. "scrollLockEnabled": false,
  157. "singular": false,
  158. "promptToSave": true,
  159. "saveOption": "none",
  160. "patterns": [
  161. "default"
  162. ],
  163. "successOutput": "{stdout}",
  164. "errorOutput": "{stdout}\n{stderr}",
  165. "fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  166. "startMessage": null,
  167. "successMessage": "Executed : {fullCommand}",
  168. "errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
  169. "fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  170. "menus": [
  171. "Auto Build"
  172. ],
  173. "startScript": null,
  174. "successScript": null,
  175. "errorScript": null,
  176. "scriptOnStart": false,
  177. "scriptOnSuccess": false,
  178. "scriptOnError": false,
  179. "notifyOnStart": false,
  180. "notifyOnSuccess": true,
  181. "notifyOnError": true,
  182. "input": null
  183. },
  184. {
  185. "namespace": "process-palette",
  186. "action": "PIO Upload using Programmer",
  187. "command": "python buildroot/share/vscode/auto_build.py program",
  188. "arguments": [],
  189. "cwd": "{projectPath}",
  190. "inputDialogs": [],
  191. "env": {},
  192. "keystroke": null,
  193. "stream": true,
  194. "outputTarget": "panel",
  195. "outputBufferSize": 80000,
  196. "maxCompleted": 3,
  197. "autoShowOutput": true,
  198. "autoHideOutput": false,
  199. "scrollLockEnabled": false,
  200. "singular": false,
  201. "promptToSave": true,
  202. "saveOption": "none",
  203. "patterns": [
  204. "default"
  205. ],
  206. "successOutput": "{stdout}",
  207. "errorOutput": "{stdout}\n{stderr}",
  208. "fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  209. "startMessage": null,
  210. "successMessage": "Executed : {fullCommand}",
  211. "errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
  212. "fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  213. "menus": [
  214. "Auto Build"
  215. ],
  216. "startScript": null,
  217. "successScript": null,
  218. "errorScript": null,
  219. "scriptOnStart": false,
  220. "scriptOnSuccess": false,
  221. "scriptOnError": false,
  222. "notifyOnStart": false,
  223. "notifyOnSuccess": true,
  224. "notifyOnError": true,
  225. "input": null
  226. },
  227. {
  228. "namespace": "process-palette",
  229. "action": "PIO Test",
  230. "command": "python buildroot/share/vscode/auto_build.py test",
  231. "arguments": [],
  232. "cwd": "{projectPath}",
  233. "inputDialogs": [],
  234. "env": {},
  235. "keystroke": null,
  236. "stream": true,
  237. "outputTarget": "panel",
  238. "outputBufferSize": 80000,
  239. "maxCompleted": 3,
  240. "autoShowOutput": true,
  241. "autoHideOutput": false,
  242. "scrollLockEnabled": false,
  243. "singular": false,
  244. "promptToSave": true,
  245. "saveOption": "none",
  246. "patterns": [
  247. "default"
  248. ],
  249. "successOutput": "{stdout}",
  250. "errorOutput": "{stdout}\n{stderr}",
  251. "fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  252. "startMessage": null,
  253. "successMessage": "Executed : {fullCommand}",
  254. "errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
  255. "fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  256. "menus": [
  257. "Auto Build"
  258. ],
  259. "startScript": null,
  260. "successScript": null,
  261. "errorScript": null,
  262. "scriptOnStart": false,
  263. "scriptOnSuccess": false,
  264. "scriptOnError": false,
  265. "notifyOnStart": false,
  266. "notifyOnSuccess": true,
  267. "notifyOnError": true,
  268. "input": null
  269. },
  270. {
  271. "namespace": "process-palette",
  272. "action": "PIO Debug",
  273. "command": "python buildroot/share/vscode/auto_build.py debug",
  274. "arguments": [],
  275. "cwd": "{projectPath}",
  276. "inputDialogs": [],
  277. "env": {},
  278. "keystroke": null,
  279. "stream": true,
  280. "outputTarget": "panel",
  281. "outputBufferSize": 80000,
  282. "maxCompleted": 3,
  283. "autoShowOutput": true,
  284. "autoHideOutput": false,
  285. "scrollLockEnabled": false,
  286. "singular": false,
  287. "promptToSave": true,
  288. "saveOption": "none",
  289. "patterns": [
  290. "default"
  291. ],
  292. "successOutput": "{stdout}",
  293. "errorOutput": "{stdout}\n{stderr}",
  294. "fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  295. "startMessage": null,
  296. "successMessage": "Executed : {fullCommand}",
  297. "errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
  298. "fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  299. "menus": [
  300. "Auto Build"
  301. ],
  302. "startScript": null,
  303. "successScript": null,
  304. "errorScript": null,
  305. "scriptOnStart": false,
  306. "scriptOnSuccess": false,
  307. "scriptOnError": false,
  308. "notifyOnStart": false,
  309. "notifyOnSuccess": true,
  310. "notifyOnError": true,
  311. "input": null
  312. },
  313. {
  314. "namespace": "process-palette",
  315. "action": "PIO Remote",
  316. "command": "python buildroot/share/vscode/auto_build.py remote",
  317. "arguments": [],
  318. "cwd": "{projectPath}",
  319. "inputDialogs": [],
  320. "env": {},
  321. "keystroke": null,
  322. "stream": true,
  323. "outputTarget": "panel",
  324. "outputBufferSize": 80000,
  325. "maxCompleted": 3,
  326. "autoShowOutput": true,
  327. "autoHideOutput": false,
  328. "scrollLockEnabled": false,
  329. "singular": false,
  330. "promptToSave": true,
  331. "saveOption": "none",
  332. "patterns": [
  333. "default"
  334. ],
  335. "successOutput": "{stdout}",
  336. "errorOutput": "{stdout}\n{stderr}",
  337. "fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  338. "startMessage": null,
  339. "successMessage": "Executed : {fullCommand}",
  340. "errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
  341. "fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
  342. "menus": [
  343. "Auto Build"
  344. ],
  345. "startScript": null,
  346. "successScript": null,
  347. "errorScript": null,
  348. "scriptOnStart": false,
  349. "scriptOnSuccess": false,
  350. "scriptOnError": false,
  351. "notifyOnStart": false,
  352. "notifyOnSuccess": true,
  353. "notifyOnError": true,
  354. "input": null
  355. }
  356. ]
  357. }