-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: # Context: We want to set up Rename Symbols into few steps: 1. Enable textDocument/rename 2. Create constructs for Rename request/params/response/etc 3. Add logic to wrap references into rename response (test by hooking up references from Glean) 4. Add alternative methods to finding local references 5. Merge references from both local and global. These stack of diffs will address 1~3. # This Diff: Step 3 Update RemoteIndexBackedQuerier to wrap references into TextEdits/WorkspaceEdit to use for RenameResponse. Update PyreLanguageServer to listen for `textDocument/rename` and call the querier for rename response. Reviewed By: pradeep90 Differential Revision: D47958684 fbshipit-source-id: 07fbe167e6729cf07d66ad3bf1fc749365fd4ea9
- Loading branch information
1 parent
05a3561
commit d96a057
Showing
4 changed files
with
204 additions
and
2 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