VnoitKumar
VnoitKumar

Reputation: 1426

VS Code Prettier Format On Save stopped working with latest update Oct 2020

My VS Code setting is

{
   "editor.formatOnSave": true,
}

It was working previously, but after the recent update, it stopped working.

Upvotes: 1

Views: 463

Answers (1)

VnoitKumar
VnoitKumar

Reputation: 1426

Open the VS Code setting

File -> Preferences -> Settings (for Windows)

Code -> Preferences -> Settings (for Mac)

Search for "Default Formatter". In the dropdown, prettier will show as esbenp.prettier-vscode

Screenshot

For more details kindly check this link

Upvotes: 1

Related Questions