-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
The current implementation for computing rename edits for moved modules is quite slow, since it iterates over all qualified name instances. We should revisit this.
Some ideas:
- A substring-based initial search, which discards most files, before parsing and visiting the tree (similar to what rename does).
- Apply edits in multiple stages; module headers first, qualified references after. Apply edits to files that are open first?
- Normalization of (redundantly) escaped qualified names should also be considered carefully.
Expected behavior
Fast and responsive refactorings.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request