Skip to content

fix: Disable block syntax parsing when no project in workspace suppor… #1964

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

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

atscott
Copy link
Collaborator

@atscott atscott commented Nov 8, 2023

…ts it (#1962)

This commit adds a check to ensure a root in the workspace supports block syntax. If not, the block syntax parsing in the compiler is disabled. Note that the language server is shared for all roots and all projects in the workspace. If on supports block syntax, we have to enable it.

In the future, it would be better to find a way to make this a per-project configuration based on the version of Angular used in that project.

fixes #1958

…ts it (angular#1962)

This commit adds a check to ensure a root in the workspace supports
block syntax. If not, the block syntax parsing in the compiler is
disabled. Note that the language server is shared for all roots and all projects
in the workspace. If on supports block syntax, we have to enable it.

In the future, it would be better to find a way to make this a
per-project configuration based on the version of Angular used in that
project.

fixes angular#1958
@atscott atscott added the target: patch This PR is targeted for the next patch release label Nov 8, 2023
@atscott atscott added the action: merge Ready to merge label Nov 8, 2023
@atscott atscott merged commit e276a57 into angular:17.0.x Nov 8, 2023
@angular-automatic-lock-bot
Copy link

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 Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge Ready to merge target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants