settings.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. "(#MARKER)": { // #MARKER test
  13. "backgroundColor": "#c31",
  14. "color": "#fff",
  15. "isWholeLine": true,
  16. "overviewRulerColor": "#c31",
  17. },
  18. "(#SECTION ([^\\S\\r\\n]*[\\w,.\\-_&]+)*[:]*)": { // #SECTION test, 123 & foo
  19. "backgroundColor": "#44f",
  20. "color": "white",
  21. "overviewRulerColor": "#44f",
  22. },
  23. "((<!--\\s*)?</?\\{\\{[A-Z_-]+\\}\\}>(\\s*-->)?)": { // <!-- <{{FOO}}> --> and <!-- </{{FOO}}> --> or <{{BAR}}> and </{{BAR}}>
  24. "overviewRulerColor": "#2ae",
  25. "backgroundColor": "#2ae",
  26. "color": "#002",
  27. },
  28. "(#?(DEBUG|DBG)#?)": { // #DEBUG or DEBUG or #DBG or #DBG#
  29. "backgroundColor": "#ff0",
  30. "color": "blue",
  31. "overviewRulerColor": "#ff0",
  32. },
  33. "(IMPORTANT:)": { // IMPORTANT:
  34. "backgroundColor": "#a22",
  35. "color": "#fff",
  36. },
  37. "(FIXME:)": { // FIXME:
  38. "backgroundColor": "#a22",
  39. "color": "#fff",
  40. "overviewRulerColor": "#752020",
  41. },
  42. },
  43. }