We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since angular 17, we can use new template syntax. Prettier does not seem to format html document in a proper way, when new template syntax is present.
Screenshot attached
@if (true) { <div> @if (true) { @if (true) { <div></div> } } </div> }
@if (true) { <div> @if (true) { @if (true) { <div> </div> } } </div> }
VS Code Version:
Version: 1.94.0 (Universal)
Prettier Extension Version:
v.11.0.0
OS and version:
iOS 15.0.1 (24A348)
{ "parser": "angular", "useTabs": false, "tabWidth": 2, "trailingComma": "es5", "semi": true, "singleQuote": true, "arrowParens": "always" }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Since angular 17, we can use new template syntax. Prettier does not seem to format html document in a proper way, when new template syntax is present.
Github Repository to Reproduce Issue
Screenshot attached
Steps To Reproduce:
Expected result
Actual result
Additional information
VS Code Version:
Version: 1.94.0 (Universal)
Prettier Extension Version:
v.11.0.0
OS and version:
iOS 15.0.1 (24A348)
Prettier Log Output
The text was updated successfully, but these errors were encountered: