ojroques / nvim-lspfuzzy

A Neovim plugin to make the LSP client use FZF
BSD 2-Clause "Simplified" License
316 stars 11 forks source link

Why is codeaction not supported? #35

Closed ycycyyc closed 2 years ago

ycycyyc commented 2 years ago

This plugin is very good, but it doesn't seem to support codeaction.

ojroques commented 2 years ago

Because unlike other LSP methods, we cannot redefine the handler for code actions: see here. There exists workarounds but I don't want to implement them into the plugin, it would complexify things too much. Check this plugin if you really want support for code actions.

Also I don't really see the point of fuzzy searching code actions anyway. I found it faster to select an action by typing its number in the default quickfix window than via FZF, because you don't really know which action is the one you want before reading all results.

ycycyyc commented 2 years ago

Thanks for the quick reply!