You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So basically, by default, vscode makes something supposed to be more readable... less readable :-)
A solution is to use extensions such as Prettier, however, this one comes with some many enforced rules that not every developer (myself included) are willing to use it (see angular/angular#52720 (comment)).
Finally, a fair amount of Angular project are developed using vscode, so it would be nice that vscode support indenting this syntax.
The text was updated successfully, but these errors were encountered:
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Angular 17 introduced control flow which is a better alternative to *ngIf.
For example, we can now write:
However, by default, Visual Studio Code does not support this new syntax in a sense that the indentation is not correct:
So basically, by default, vscode makes something supposed to be more readable... less readable :-)
A solution is to use extensions such as Prettier, however, this one comes with some many enforced rules that not every developer (myself included) are willing to use it (see angular/angular#52720 (comment)).
Finally, a fair amount of Angular project are developed using vscode, so it would be nice that vscode support indenting this syntax.
The text was updated successfully, but these errors were encountered: