Skip to content

polish: move prepareRename to analysis binary#657

Open
aspeddro wants to merge 8 commits intorescript-lang:masterfrom
aspeddro:migrate-prepare-rename-to-cli
Open

polish: move prepareRename to analysis binary#657
aspeddro wants to merge 8 commits intorescript-lang:masterfrom
aspeddro:migrate-prepare-rename-to-cli

Conversation

@aspeddro
Copy link
Contributor

@aspeddro aspeddro commented Dec 18, 2022

Currently prepareRename get all references (utils.getReferencesForPosition) and iterated over them to find the location under the cursor. With this change, go directly to the location and validate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant