For about a month now, my Prettier extension has stopped working as it normally does. Most notably - format on save does not work. Other notes:
;
worksI get this error type symbol in the status bar next to the Prettier button - I can't find any reference to this relating to Prettier on Google:
]
I have my format on save checked in Settings:
'Format Document,
Format Selectionand
Format Document with` command palette options all do nothing
I've followed the migration steps and think all is in order. Some snippets of the configuration between eslint and prettier that I have:
"eslint.autoFixOnSave": true, // (even though VSCode has this as deprecated), have tried with and without this line
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll.eslint": true
},
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.2",
"prettier-eslint": "^9.0.0",
extends: ['airbnb', 'prettier'],
plugins: ['react', 'jsx-a11y', 'import', 'react-hooks', 'plugin:prettier/recommended'],
Anyone have any idea on how to fix this or further debugging tests to do here? It's driving me nuts!
Follow these steps:
Format Document
Configure Default Formatter...
Prettier - Code formatter
Done!