Formatter Black is not working on save (VSC)

463 views Asked by At
{
  "workbench.colorTheme": "Default Dark+",
  "python.linting.flake8Enabled": true,
  "python.linting.enabled": true,
  "python.formatting.provider": "black",
  "editor.formatOnSave": true,
  "files.associations": {
    "**/*.html": "html",
    "**/templates/**/*.html": "django-html",
    "**/templates/**/*": "django-txt",
    "**/requirements{/**,*}.{txt,in}": "pip-requirements"
  },
  "emmet.includeLanguages": {
    "django-html": "html"
  },
  "prettier.printWidth": 140,
  "prettier.tabWidth": 4,
  "prettier.singleQuote": true,
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}

I have uninstalled VSC and set it up from beginning. I don't know why formatter is not working on save. It works when I format my file in terminal.

0

There are 0 answers