VSCode `Saving Getting code actions from`

Viewed 9322

Getting frequent Saving Getting code actions from from VSCode.

VSCode freezes, the file is NOT saved. It seems to happen for Prettier, Eslint, React plugins, so many. This didn't used to happen, know it happens all the time.

Is there a way to STOP this from happening?

2 Answers

I had the same issue but after I configure my setting.json file like below, it did save alot faster!

 "editor.formatOnSave": true,
  "eslint.format.enable": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "editor.codeActionsOnSave": {
      "source.fixAll.eslint": false
    }
  }
Related