Closed mmarseu closed 1 year ago
This issue has been labeled as stale due to inactivity. Reply to keep this issue open.
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.
Summary
I've configured prettier as my default formatter in workspace settings. It does work flawlessly with JS and JSON files, but HTML isn't being formatted by prettier. Apparently vscode falls back to the builtin HTML Language Features.
I have to explicitly set the default formatter for HTML in my workspace settings to prettier for it to work.
This works:
Github Repository to Reproduce Issue
Link to a Github repo that can be used to reproduce the issue.
Steps To Reproduce:
npm install
MES.html
Expected result
The document should be formatted using prettier's rules and the prettier output console should show some activity.
Actual result
The document is formatted but not by prettier's rules. The prettier output console doesn't show anything.
Additional information
VS Code Version:
Version: 1.65.2 (user setup) Commit: c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1 Date: 2022-03-10T14:33:55.248Z Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19042
Prettier Extension Version:
9.3.0
OS and version:
Windows 10 19042.1526 VS Code running in WSL 2: Ubuntu 20.04
Prettier Log Output