Skip to content

refactor(language-service): enable extended template diagnostics when strict templates is forced#43708

Closed
dgp1130 wants to merge 1 commit intoangular:masterfrom
dgp1130:language-service-extended-template-diagnostics
Closed

refactor(language-service): enable extended template diagnostics when strict templates is forced#43708
dgp1130 wants to merge 1 commit intoangular:masterfrom
dgp1130:language-service-extended-template-diagnostics

Conversation

@dgp1130
Copy link
Contributor

@dgp1130 dgp1130 commented Oct 5, 2021

This effectively enables extended template diagnostics in the VSCode extension in google3. This uses the existing forceStrictTemplates option to enable since that is already a prerequisite for extended template diagnostics and we don't distinguish between them at the configuration-level in google3 anyways.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

Issue Number: http://b/199443160

Extended template diagnostics are not shown in the VSCode extension for google3 applications.

What is the new behavior?

Extended template diagnostics are now shown in the VSCode extension for google3 applications.

Does this PR introduce a breaking change?

  • No

Other information

This is technically a feature, but only for google3 devs, so I left the commit as a refactor just so it doesn't show up in the public changelog and reduces noise.

The package also seems to have existing test failures and I'm not sure how to properly use it in a test build of the extension, so I can't actually confirm that this does what I expect, however it's simple enough to be reasonably confident this works as intended.

/cc @alxhub

@dgp1130 dgp1130 added area: language-service Issues related to Angular's VS Code language service target: major This PR is targeted for the next major release labels Oct 5, 2021
@dgp1130 dgp1130 added this to the Backlog milestone Oct 5, 2021
@dgp1130 dgp1130 requested a review from atscott October 5, 2021 00:53
@google-cla google-cla bot added the cla: yes label Oct 5, 2021
@dgp1130
Copy link
Contributor Author

dgp1130 commented Oct 5, 2021

We'll hold off on merging this until the feature is actually enabled in google3.

@dgp1130 dgp1130 force-pushed the language-service-extended-template-diagnostics branch from b193382 to e4d29f7 Compare October 5, 2021 01:00
@dgp1130 dgp1130 force-pushed the language-service-extended-template-diagnostics branch from e4d29f7 to 3abaa0d Compare October 7, 2021 21:50
… strict templates is forced.

This effectively enables extended template diagnostics in the VSCode extension in google3. This uses the existing `forceStrictTemplates` option to enable since that is already a prerequisite for extended template diagnostics and we don't distinguish between them at the configuration-level in google3 anyways.
@dgp1130 dgp1130 force-pushed the language-service-extended-template-diagnostics branch from 3abaa0d to 4b14b54 Compare October 11, 2021 21:48
@dgp1130
Copy link
Contributor Author

dgp1130 commented Oct 11, 2021

google3 is ready, so we can merge this in whenever. The next release of the VSCode extension should include this change.

@dgp1130 dgp1130 added the action: merge The PR is ready for merge by the caretaker label Oct 11, 2021
@dgp1130
Copy link
Contributor Author

dgp1130 commented Oct 11, 2021

Should be ready to merge to master.

Note to caretaker, this is for google3 support so this does not need to be cherry-picked to v13.

@atscott atscott added target: minor This PR is targeted for the next minor release and removed target: major This PR is targeted for the next major release labels Oct 12, 2021
@atscott
Copy link
Contributor

atscott commented Oct 12, 2021

This PR was merged into the repository by commit d151a3c.

@atscott atscott closed this in d151a3c Oct 12, 2021
@dgp1130 dgp1130 deleted the language-service-extended-template-diagnostics branch October 13, 2021 22:36
@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 Nov 13, 2021
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 cla: yes target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants