1
0

settings.json 1.6 KB

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