settings.json 1016 B

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