angular / vscode-ng-language-service

Angular extension for Visual Studio Code
MIT License
779 stars 117 forks source link

Control flow syntax highlight not coloring nested if statement #2062

Closed jpike88 closed 3 months ago

jpike88 commented 3 months ago
@if (form) {
            <mat-card style="min-width: 260px;">
                <mat-card-content>
                    <fields [form]="form"></fields>
                    <button>
                        @if (form.submitted) {
                            <mat-progress-spinner
                                [mode]="'indeterminate'"
                                [diameter]="16"
                                style="display: inline-block; margin-right: 12px;"
                            >
                            </mat-progress-spinner>
                        }
                    </button>
                </mat-card-content>
            </mat-card>
        }

in the above example, that inner if statement is not colourized, it's just grey like below:

Screenshot 2024-07-10 at 8 28 54 AM
eneajaho commented 3 months ago

I was just going to open this issue 😅

Taras-R commented 3 months ago

I was just going to open this issue 😅

Same here. Worked in v. 18.0.0, crashed in v. 18.1.0. I guess they will fix it soon.

angular-automatic-lock-bot[bot] commented 2 months ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.