Skip to content

Instantly share code, notes, and snippets.

@Lohann
Last active October 9, 2025 23:27
Show Gist options
  • Save Lohann/3c882f8b6401dcba1da4c88269253700 to your computer and use it in GitHub Desktop.
Save Lohann/3c882f8b6401dcba1da4c88269253700 to your computer and use it in GitHub Desktop.
Rust VSCode Settings
{
"editor.inlineSuggest.enabled": true,
"editor.semanticHighlighting.enabled": true,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"rust-analyzer.check.command": "clippy",
"rust-analyzer.check.extraArgs": [
"--",
"-Dwarnings",
"-Dclippy::unwrap_used",
"-Dclippy::expect_used",
"-Dclippy::nursery",
"-Dclippy::pedantic",
"-Aclippy::module_name_repetitions"
],
"rust-analyzer.diagnostics.enable": true,
"rust-analyzer.rustfmt.extraArgs": [
"+nightly"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment