Skip to content

feat(extension): Support renaming from TypeScript files #1589

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 2, 2022

Conversation

ivanwonder
Copy link
Contributor

@ivanwonder ivanwonder commented Jan 12, 2022

This PR will add a new package that is applied to the built-in TS
extension by the config typescriptServerPlugins and is used
to disable rename provider of the built-in TS extension so VSCode
asks the Angular Language Service for the answer instead.

Detail about this package is here.

@ivanwonder
Copy link
Contributor Author

The plugin code move into this PR

@ivanwonder ivanwonder marked this pull request as ready for review January 13, 2022 13:14
@ivanwonder ivanwonder force-pushed the disable-built-in-rename-provide branch from ba817c0 to 9fb4cd3 Compare January 20, 2022 13:11
@atscott atscott added the blocked A PR that is blocked by some dependency and should not be merged. label Jan 25, 2022
@atscott
Copy link
Collaborator

atscott commented Jan 25, 2022

Adding the blocked label. This has to wait for the 13.2 release here since we don't yet have a branch for the next version that angular/angular#44696 was included in.

@ivanwonder ivanwonder force-pushed the disable-built-in-rename-provide branch from 9fb4cd3 to 3dd53d0 Compare January 28, 2022 04:09
Copy link
Collaborator

@atscott atscott left a comment

Choose a reason for hiding this comment

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

@ivanwonder LGTM aside from the commit message. Like the other commit, could you write it as the feature you're providing rather than the implementation details about how that was achieved?

That is:

feat(extension): Support renaming from TypeScript files

<<details about how you did this. Disable rename provider of built in 
TS extension so VSCode asks the Angular Language Service for the answer instead. >>

@atscott atscott added target: minor This PR is targeted for the next minor release and removed blocked A PR that is blocked by some dependency and should not be merged. labels Jan 31, 2022
This PR will add a new package that is applied to the built-in TS
extension by the config [`typescriptServerPlugins`][1] and is used
to disable rename provider of the built-in TS extension so VSCode
asks the Angular Language Service for the answer instead.

Detail about this package is [here][2].

[1]: https://code.visualstudio.com/api/references/contribution-points#contributes.typescriptServerPlugins
[2]: https://github.com/angular/angular/blob/master/packages/language-service/README.md#override-rename-ts-plugin
@ivanwonder ivanwonder force-pushed the disable-built-in-rename-provide branch from 3dd53d0 to a898b11 Compare February 2, 2022 12:59
@ivanwonder ivanwonder changed the title feat(language-service): Disable the rename provide in the built-in ex… feat(extension): Support renaming from TypeScript files Feb 2, 2022
@ivanwonder ivanwonder requested a review from atscott February 2, 2022 13:04
Copy link
Collaborator

@atscott atscott left a comment

Choose a reason for hiding this comment

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

🥳

@atscott atscott added action: merge Ready to merge cla: yes labels Feb 2, 2022
@atscott atscott merged commit 4f01080 into angular:master Feb 2, 2022
@ivanwonder ivanwonder deleted the disable-built-in-rename-provide branch February 8, 2022 00:10
@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 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge Ready to merge 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