-
Notifications
You must be signed in to change notification settings - Fork 11
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
[Feature] Option to prompt renaming through nvim's prompt instead of UI #68
Comments
Thanks for submitting feedback and for the proposal! I assume you already used Is this right? I am trying to get a better idea as to how this feature should be designed. |
No I did not try |
Add the `with_popup` parameter to determine whether or not to use the popup to enter the new name. If popup is disabled, use `vim.fn.input` to receive the new name. BREAKING CHANGE: Fallback when popup is disabled/not able to be drawn changed from `vim.lsp.buf.rename()` to using `vim.fn.input()` to ask the user for input. This is required for: - setting the quickfix list with the resulting changes - preserving non-GUI input alternative, since Neovim 0.5.2+ will have its own interface for `vim.lsp.buf.rename()` Closes: GH-68 Signed-off-by: Filip Dutescu <filip.dutescu@gmail.com>
Just added your proposed feature to the |
Add the screenshot provided by @sdushantha in GH-68 to `media/` and to the `README.md`. Signed-off-by: Filip Dutescu <filip.dutescu@gmail.com>
Thank you! I really appreciate you taking the time to implement this feature!! |
With pleasure! Thanks for suggesting it! |
Describe the issue
Great project, I've been looking this type of plugin for a long time!
I personally would like it if there was a option to prompt the rename through the command input (not sure what its called) instead of a popup. It's just a personal thing, as I'm not a huge fan of having the popup.
Proposal
It would be nice to have something like in the screenshot below
The text was updated successfully, but these errors were encountered: