vscode-linter icon indicating copy to clipboard operation
vscode-linter copied to clipboard

Blocks saving and Github Copilot

Open jtmkrueger opened this issue 2 years ago • 1 comments

I've noticed that this extension will

  • delay a file from being saved until linters run
  • block GitHub copilot from making inline suggestions

Are there any plans to address these things? I've started to read in the code to see if I can figure out where these things happen but I'm not super savvy with VSCode extensions (recently converted from vim). Happy to try and work on these things if someone pointed me in the right direction on where to start!

jtmkrueger avatar Dec 28 '23 17:12 jtmkrueger

I'm suffering from this, especially editing large Rust codebase. After I disabled cargo-clippy as follows, everything just works fine.

"linter.enabled": true,
  "linter.linters": {
    "cargo-clippy": {
      "capabilities": ["fix-inline", "ignore-file"],
      "command": [
        "cargo-clippy",
        "$file",
        "--no-deps",
        "--message-format",
        "json",
        ["$config", "--config", "$config"]
      ],
      "configFiles": ["clippy.toml", ".clippy.toml"],
      "enabled": false, /// Beware false here
      "languages": [],
      "name": "cargo-clippy",
      "url": "https://doc.rust-lang.org/clippy/"
    }
  }

konn avatar Feb 14 '25 08:02 konn