settings.json 1.4 KB

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