-
Notifications
You must be signed in to change notification settings - Fork 26k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(language-service): allow code refactorings to compute edits asyn…
…chronously (#57214) VSCode explicitly split code actions into two stages: - what actions are active? - what are the edits, if the user presses the button. The latter stage may take longer to compute complex edits, perform analysis. This stage is currently implemented via our non-LSP standard `applyRefactoring` method. We should make it asynchronous, so that it can easily integrate with migrations that aren't synchronous/or compute in parallel. Long-term we may want to revisit this given integration in 1P with the language service as an actual TS server plugin; but it's not necessary right now and we shouldn't block the effort on this for now. PR Close #57214
- Loading branch information
1 parent
4900225
commit 56ee47f
Showing
4 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters