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
Angular 18.1 introduced the new @let syntax: https://angular.dev/api/core/@let
@let
It differs from the recently added @if or @for, because it doesn't contain any following brackets or parentheses.
@if
@for
As of now any code in a file that comes after @let may not be formatted correctly, especially if there are more @if or @for.
With this new feature, when I give like this input:
@let foo = 'bar'; <div> @if (foo) { {{ foo }} } </div>
I'd like to see this output:
The text was updated successfully, but these errors were encountered:
This is so much needed, if I correctly remember the approximate implementation it should not be difficult to extend keywords list.
Sorry, something went wrong.
@bitwiseman is this issue still available to take on? any guidance on specific areas I should focus on would be appreciated.
No branches or pull requests
Description
Angular 18.1 introduced the new
@let
syntax: https://angular.dev/api/core/@letIt differs from the recently added
@if
or@for
, because it doesn't contain any following brackets or parentheses.As of now any code in a file that comes after
@let
may not be formatted correctly, especially if there are more@if
or@for
.Input
With this new feature, when I give like this input:
Expected Output
I'd like to see this output:
The text was updated successfully, but these errors were encountered: