madskristensen / JavaScriptPrettier

A Visual Studio extension
Other
158 stars 30 forks source link

Not working in VS Code #42

Open don-odyssey opened 1 month ago

don-odyssey commented 1 month ago

Hi,

Not a bug but I installed the extension in VS Code and changed the JSON settings as follows but it doe works when I save a file. Nothing is reformatted, even when I intentionally mis-format code

"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
HolgerJeromin commented 1 month ago

Not a bug but I installed the extension in VS Code

No you did not. Visual Studio Code and Visual Studio extensions are completely different, even in different programming languages (csharp vs JS/TS). You installed another extension not related to this repo.