settings.json 1.2 KB

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