emeraldwalk / vscode-runonsave

Visual Studio Code extension to run commands whenever a file is saved.
Apache License 2.0
182 stars 57 forks source link

Extension can no longer format C++ files #78

Closed juxeii closed 1 year ago

juxeii commented 1 year ago

Hi,

am using this extension to format C++ files since 2 years without an issue. But today I got this when trying to format:

image

My settings are

"emeraldwalk.runonsave": {
    "commands": [
      {
        "cmd": "clang-format-9 -i ${file}",
        "match": ".cpp"
      },
      {
        "cmd": "clang-format-9 -i ${file}",
        "match": ".hpp"
      }
    ]
  }

Has something changed with VSC itself? I am on version 1.78.2

image

juxeii commented 1 year ago

Sorry for confusion. It was a problem on my side.