1
0

settings.json 1.4 KB

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