tasks.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. // See https://go.microsoft.com/fwlink/?LinkId=733558
  3. // for the documentation about the tasks.json format
  4. "version": "2.0.0",
  5. "tasks": [
  6. {
  7. "label": "debug run",
  8. "type": "shell",
  9. "command": "make srun",
  10. "isBackground": true,
  11. "problemMatcher": [
  12. {
  13. "owner": "rustc",
  14. "fileLocation": [
  15. "relative",
  16. "${workspaceFolder}"
  17. ],
  18. "pattern": {
  19. "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
  20. "file": 1,
  21. "line": 2,
  22. "column": 3,
  23. "severity": 4,
  24. "message": 5
  25. },
  26. "background": {
  27. "activeOnStart": true,
  28. "beginsPattern": "cargo build",
  29. "endsPattern": "qemu"
  30. }
  31. }
  32. ],
  33. "presentation": {
  34. "echo": false,
  35. "reveal": "always",
  36. "focus": false,
  37. "panel": "shared",
  38. "showReuseMessage": false,
  39. "clear": true
  40. },
  41. "group": {
  42. "kind": "build",
  43. "isDefault": true
  44. }
  45. },
  46. {
  47. "label": "kill qemu",
  48. "type": "shell",
  49. "command": "killall qemu-system-x86_64",
  50. "presentation": {
  51. "echo": false,
  52. "reveal": "never",
  53. "focus": false,
  54. "panel": "shared",
  55. "showReuseMessage": false,
  56. "clear": true
  57. },
  58. "group": {
  59. "kind": "none",
  60. }
  61. }
  62. ]
  63. }