-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
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
bug(language-service) using ngForTemplate (sugarized) with inline-template will mess-up html lint/format #839
Comments
Yes, please! |
my pleasure @pkozlowski-opensource |
Plot twist: Its not happening when we dont have >> However I know this semicolon syntax from official angular material docs:
So I still think this should be a bug :/ |
@ayazhafiz could you please take a look at this? |
Yes, will do within the next 3 days |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 bug report
Affected Package
?language service?
(I hope its the right repo to put this)
Is this a regression?
I think: no, not 100% sure
Description
Steps to reproduce:
(Stackblitz does not use language feature in inline tpl)
STACKBLITZ
When I use this in vscode its messes up the HTML linting/ styling.
🔥 Exception or Error
Messed up html
what it should look like (ignore red error line. There is no templateLOL input)
🌍 Your Environment
1.45.1
0.901.9
Angular Version:
Current workaround
use of "de-sugarized" version will not mess with linting/ formating.
<ng-template ngFor let-item="$implicit" [ngForOf]="[11,22,33,44]" [ngForTemplate]="myTpl"></ng-template>
The text was updated successfully, but these errors were encountered: