nvim-lua / wishlist

A public catalogue of Lua plugins Neovim users would like to see exist
MIT License
235 stars 0 forks source link

Quick actions menu #8

Closed f-person closed 4 years ago

f-person commented 4 years ago

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.

runiq commented 4 years ago

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

weilbith commented 4 years ago

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.

weilbith commented 4 years ago

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

tricktux commented 4 years ago

Another potential implementation: nvim-lsputils

f-person commented 4 years ago

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