{ "files.autoSave": "onFocusChange", "files.defaultLanguage": "rust", "editor.formatOnPaste": true, "editor.formatOnSave": true, "files.trimTrailingWhitespace": true, "editor.suggest.preview": true, "editor.acceptSuggestionOnEnter": "on", "rust-analyzer.restartServerOnConfigChange": true, "rust-analyzer.cargo.features": "all", "rust-analyzer.check.overrideCommand": [ "cargo", "clippy", "--fix", "--workspace", "--message-format=json", "--all-targets", "--allow-dirty" ], "[rust]": { "editor.defaultFormatter": "rust-lang.rust-analyzer", } }