nvim-lua / wishlist

A public catalogue of Lua plugins Neovim users would like to see exist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick actions menu

f-person opened this issue · comments

What?
Menu with options that provides refactoring actions from language server.

Why?
The UX is great, something like this saves time when refactoring code (probably not in all languages/frameworks, but this is very useful when working with Flutter).

Potential existing implementations:
The only one I know is coc-actions. I still use it, did not stop using CoC for Flutter only for this functionality.

commented

I'd maybe even generalize this to "quick selection menu" for selecting e.g. files, symbols, etc.

At the moment the LSP action callback uses the inputlist() function. This is also used for :tselect etc. I think this "menu" is horrible. Unfortunately not possible to solve via a plugin, but would be great if this could be tackled in more general.

The plugin actionmenu.nvim looks pretty good. Also it is not feature complete for this wish here...

Another potential implementation: nvim-lsputils

nvim-lsputils is awesome, it has some more cool features like better go to references UX. Wish granted!