I have prettier installed. I can format the code by right-clicking the file and clicking the "format document", but I can't use Ctrl + S to format the code. I also set prettier as the default formatter.
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
Anyone have any idea on how to fix this?