settings.json 991 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "files.autoSave": "onFocusChange",
  3. "files.insertFinalNewline": true,
  4. "workbench.colorTheme": "Atom One Dark",
  5. "editor.formatOnSave": true,
  6. "editor.fontFamily": "source code pro",
  7. "editor.mouseWheelZoom": true,
  8. "editor.codeActionsOnSave": {
  9. "source.fixAll.eslint": true
  10. },
  11. "editor.defaultFormatter": "esbenp.prettier-vscode",
  12. "rust-analyzer.cargo.runBuildScripts": true,
  13. // https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
  14. "files.watcherExclude": {
  15. "**/.git/**": true,
  16. "**/node_modules/**": true
  17. },
  18. "[cpp]": {
  19. "editor.defaultFormatter": "ms-vscode.cpptools"
  20. },
  21. "[rust]": {
  22. "editor.defaultFormatter": "rust-lang.rust-analyzer"
  23. },
  24. "[proto3]": {
  25. "editor.defaultFormatter": "zxh404.vscode-proto3"
  26. },
  27. "[xml]": {
  28. "editor.defaultFormatter": "redhat.vscode-xml"
  29. },
  30. "[python]": {
  31. "editor.defaultFormatter": "ms-python.python"
  32. }
  33. }