您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

57 行
1.5 KiB

8 年前
  1. // Available variables which can be used inside of strings.
  2. // ${workspaceRoot}: the root folder of the team
  3. // ${file}: the current opened file
  4. // ${fileBasename}: the current opened file's basename
  5. // ${fileDirname}: the current opened file's dirname
  6. // ${fileExtname}: the current opened file's extension
  7. // ${cwd}: the current working directory of the spawned process
  8. // A task runner that calls a custom npm script that compiles the extension.
  9. {
  10. "version": "2.0.0",
  11. "presentation": {
  12. "echo": true,
  13. "reveal": "always",
  14. "focus": false,
  15. "panel": "shared"
  16. },
  17. "tasks": [
  18. {
  19. "label": "build",
  20. "type": "npm",
  21. "script": "build",
  22. "problemMatcher": [
  23. "$tsc",
  24. "$tslint5"
  25. ],
  26. "group": {
  27. "kind": "build",
  28. "isDefault": true
  29. }
  30. },
  31. {
  32. "label": "lint",
  33. "type": "npm",
  34. "script": "lint",
  35. "problemMatcher": [
  36. "$tslint5"
  37. ],
  38. "group": "build"
  39. },
  40. {
  41. "label": "rebuild",
  42. "type": "npm",
  43. "script": "rebuild",
  44. "problemMatcher": [
  45. "$tsc",
  46. "$tslint5"
  47. ],
  48. "group": "build"
  49. },
  50. {
  51. "type": "npm",
  52. "script": "watch",
  53. "isBackground": true,
  54. "problemMatcher": "$tsc-watch"
  55. }
  56. ]
  57. }