-
Notifications
You must be signed in to change notification settings - Fork 0
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
merge action selector with action preview #2
Comments
That's necessary because most workspaceEdits consist of a list of TextEdits and you can select and choose to apply with See also my comment here: #1 (comment) |
A Neovim UI library has recently been released here, in case you find it useful: https://www.reddit.com/r/neovim/comments/1bkb981/introducing_nuicomponents_a_library_that/ |
Yes! That looks much more flexible than telescope! I will have a look, I was mostly running into telescope's limitations when working on the TextEdit selection. Let's see. For later reference the documentation: https://nui-components.grapp.dev/ |
Another note: I am planning to stay as close as possible for now to the standard implementation in Neovim for those functions to benefit from upstream bug fixes and improvements. It also means that I don't have control over the UX for inputting the new name in |
In the current implementation, when running a code action with preview, first you have to select the wished action, then you have another
Telescope
prompt displaying the preview. Finally, you have to pressEnter
to confirm the action.It would be nice to add an option so that, as soon as you run the code action with preview command, the preview is displayed directly for each of the available actions, and pressing
Enter
would confirm the selected action.Regarding the rename command, you could maybe use the
Telescope
prompt as new name input, showing the preview inTelescope
:The text was updated successfully, but these errors were encountered: