-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Using LSP to rename could store history #10560
Comments
I discussed this with @the-mikedavis. We don't really want to add an new hardcoded register for every prompt. But it would be useful to add the ability to specify a register with |
Fix helix-editor#10560 by accepting an optional history register for the rename_symbol command.
Fix #10560 by accepting an optional history register for the rename_symbol command.
Fix helix-editor#10560 by accepting an optional history register for the rename_symbol command.
Fix helix-editor#10560 by accepting an optional history register for the rename_symbol command.
Fix helix-editor#10560 by accepting an optional history register for the rename_symbol command.
When using -r to LSP rename things the previous names used are not remembered. Adding a register here would be more ergonomic. I was just fixing some unit tests in another project and had to rename the same name in multiple function in multiple files. Since there was no shared scope the LSP was not too helpful. Being able to pull up recent renames would make this refactoring work easier. Either the existing ':' used for other history or perhaps another register dedicated to this? I am using semicolon in code locally. Happy to post a tiny PR if we can agree on the register to use.
The text was updated successfully, but these errors were encountered: