angular / vscode-ng-language-service

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

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

Closed atscott closed 1 year ago

atscott commented 1 year ago

…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

angular-automatic-lock-bot[bot] commented 11 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.