Skip to content

fix(language-service): prevent interpolation from superseding block b…#64392

Closed
atscott wants to merge 1 commit intoangular:mainfrom
atscott:blockexclusion
Closed

fix(language-service): prevent interpolation from superseding block b…#64392
atscott wants to merge 1 commit intoangular:mainfrom
atscott:blockexclusion

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented Oct 13, 2025

…races

This change omits the injection of the template syntaxes inside any existing block scope. The injection is not needed because the template and expression scopes are included explicitly as patterns where appropriate under the template-blocks definitions.

This change prevents the interpolation curly braces from superseding the match for the open curly of the block body. This issue also happens with ICUs (#62697), but those do not have any named scopes to exclude as of today.

fixes angular/vscode-ng-language-service#1991

@angular-robot angular-robot bot added the area: language-service Issues related to Angular's VS Code language service label Oct 13, 2025
@ngbot ngbot bot added this to the Backlog milestone Oct 13, 2025
…races

This change omits the injection of the template syntaxes inside any
existing block scope. The injection is not needed because the template
and expression scopes are included explicitly as patterns where
appropriate under the template-blocks definitions.

This change prevents the interpolation curly braces from superseding the
match for the open curly of the block body. This issue also happens with
ICUs (angular#62697), but those do not have any named scopes to exclude as of
today.

fixes angular/vscode-ng-language-service#1991
@atscott atscott marked this pull request as ready for review October 14, 2025 18:09
@atscott atscott requested a review from crisbeto October 14, 2025 18:10
@atscott atscott added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Oct 20, 2025
@thePunderWoman
Copy link
Copy Markdown
Contributor

This PR was merged into the repository. The changes were merged into the following branches:

@angular-automatic-lock-bot
Copy link
Copy Markdown

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: language-service Issues related to Angular's VS Code language service target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Control Flow syntax highlight curly braces mismatch

3 participants