1
0

settings.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "npm.packageManager": "pnpm",
  3. "javascript.preferences.importModuleSpecifier": "relative",
  4. "typescript.tsdk": "node_modules/typescript/lib",
  5. "editor.tabSize": 2,
  6. // requires extension: fabiospampinato.vscode-highlight
  7. "highlight.regexes": {
  8. "(TODO(\\((\\s|\\d|\\w|[,.-_+*&])+\\))?:?)": { // TODO: or TODO or TODO(xy): but not todo or todo:
  9. "backgroundColor": "#ed0",
  10. "color": "black",
  11. "overviewRulerColor": "#ed0",
  12. },
  13. "((//\\s*|/\\*\\s*)?#region ([^\\S\\r\\n]*[\\(\\)\\w,.\\-_&+#*'\"/:]+)*)": { //#region test: (abc):
  14. "backgroundColor": "#5df",
  15. "color": "#000",
  16. "overviewRulerColor": "#5df",
  17. },
  18. "((<!--\\s*)?</?\\{\\{[A-Z_-]+\\}\\}>(\\s*-->)?)": { // <!-- <{{FOO}}> --> and <!-- </{{FOO}}> --> or <{{BAR}}> and </{{BAR}}>
  19. "backgroundColor": "#9af",
  20. "overviewRulerColor": "#9af",
  21. "color": "#000",
  22. },
  23. "(#?(DEBUG|DBG)#?)": { // #DEBUG or DEBUG or #DBG or #DBG#
  24. "backgroundColor": "#ff0",
  25. "color": "blue",
  26. "overviewRulerColor": "#ff0",
  27. },
  28. "(IMPORTANT:)": { // IMPORTANT:
  29. "backgroundColor": "#a22",
  30. "color": "#fff",
  31. },
  32. "(FIXME:)": { // FIXME:
  33. "backgroundColor": "#a22",
  34. "color": "#fff",
  35. "overviewRulerColor": "#752020",
  36. },
  37. },
  38. }