Skip to content

feat: Prompt to use the Ivy Language Service if VE is detected #1099

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
Feb 6, 2021

Conversation

atscott
Copy link
Collaborator

@atscott atscott commented Feb 3, 2021

In order to drive adoption of the new Ivy Language Service before it
becomes the default in v12, this commit adds a prompt for users to
enable it if they are using @angular/core v9+.

Fixes #1095

@atscott atscott force-pushed the promptToUseIvyLS branch 2 times, most recently from 00d2b75 to 8d74f07 Compare February 3, 2021 22:37
@atscott atscott requested a review from kyliau February 3, 2021 22:44
'Ignore',
);
if (selection === enableIvy) {
config.update('angular.experimental-ivy', true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this per-workspace or global?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default is WorkspaceFolder - I've updated this to be global. We might want to discuss how we want to approach it. Maybe the ignore selection is global and the enable option is per workspace? WDYT?

@atscott atscott force-pushed the promptToUseIvyLS branch 2 times, most recently from 2701ea7 to 2339d96 Compare February 4, 2021 19:49
@atscott atscott requested a review from kyliau February 4, 2021 22:22
In order to drive adoption of the new Ivy Language Service before it
becomes the default in v12, this commit adds a prompt for users to
enable it if they are using `@angular/core` v9+.

Fixes angular#1095
@atscott atscott requested a review from kyliau February 5, 2021 22:06
@kyliau kyliau merged commit 988dd7b into angular:master Feb 6, 2021
@kyliau kyliau mentioned this pull request Feb 16, 2021
@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 Mar 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add notification to prompt users to enable Ivy experimental LS
2 participants