Vscode Settings

Dec 19, 2025

Highlight async/await keywords

Highlight async/await keywords using bold golden yellow.

  "editor.semanticTokenColorCustomizations": {
    "rules": {
      "*.async": {
        "foreground": "#FFDF00",
        "fontStyle": "bold"
      }
    }
  },

Here is a demo of how this highlights all async context

Control automatic formatting

  "[rust]": {
    "editor.formatOnSave": true,
    "editor.formatOnSaveMode": "file",
    "editor.defaultFormatter": "rust-lang.rust-analyzer",
    "editor.formatOnPaste": true,
    "editor.formatOnType": true,
  },

Run clippy on save

  "rust-analyzer.check.overrideCommand": [
    "cargo",
    "clippy",
    "--fix",
    "--no-deps",
    "--workspace",
    "--all-targets",
    "--allow-dirty",
    "--allow-staged",
    "--allow-no-vcs"
  ],