Closed OnkelTem closed 1 year ago
This bug is missing information needed to diagnose the problem. Please see our guide on how to open a good issue and provide the missing information. Most configuration-related issues can only be resolved by providing a full repro. If you don't provide a sample to reproduce your issue, your bug will most likely be closed.
I provided the logs. Also, I disabled all other extensions.
I've found the reason folks. Something has added the following lines to the very end of my user JSON settings file:
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
Gosh, I didn't expect it.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
https://github.com/prettier/prettier/issues/14855
Version: 1.78.0 Commit: 252e5463d60e63238250799aef7375787f68b4ee Date: 2023-05-03T20:09:46.685Z Electron: 22.4.8 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Linux x64 5.15.0-72-generic Sandboxed: Yes
Prettier extension doesn't emit any errors, yet it does nothing. The formatting that worked comes from VSCode itself.
I should say that I didn't touch VSCode settings, or prettierrc. It just stopped working after either the extension update or VSCode update.
This is what I have in my user settings:
Now this is the output of the extension:
And this is what appears there after saving a file: