-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Bug] CodeAction not working on latest nightly version #44
Comments
This PR code action resolve is responsible for it... Checking the file changes to update.... |
Well they have actually removed the support for overriding codeaction.... We can override vim.ui.select for having floating menus..... There are 2 options... not use codeaction request provided by neovim and implement it self or provide vim.ui.select. |
Not sure about the best way. I'd say let's try the quickest of the two, then maybe change when a clear indication on how this should be done comes from neovim's maintainers (neovim/neovim#15848) |
@hood checkout lspactions, it has updated codeaction implementation. I have implemented the codeaction similar to what neovim nightly currently has, just I implemented it such that it is still customizable with |
Don't worry man, take your time. I can wait. I'll wait for the change to land in |
It is a kind of experimental alternative.... I was trying to stick with vim quickfix list for references, definition, etc just to enhance my productivity but neovim's default implementation was not enough extensible for my workflow... so I thought to write a highly extensible implementation myself and also tried to have better design decisions. So as a result, you can extend lspactions for things like sorting of codeactions by lsp, sorting of references to start with current line, or custom quickfix list behavior, etc... So it can also act like a framework for other's highly customized config. I would make a breaking change in nvim-lsputils in sometime to have similar design like lspactions once I would be done with remaining experiments with lspactions |
I've tried using |
(no hurry, just checking) |
Hey, just to let you know, I implemented a custom plugin to do this as I was too eager to use the latest nightly version asap (I'm impatient, I know). It uses |
That's cool... It would take me time to do that in project as currently I am going through undergraduate interviews for jobs... So busy these days. |
Is there any progress? :) |
Been using
nvim-lsputils
's version of thecodeAction
handler for a while now. Since my latest NeoVim update (version:0.6.0-dev+368
) doesn't work anymore, showing suggestions in the quickfix menu on the bottom instead of the usual popup menu it used before.Config
![2021-10-01_14-42](https://camo.githubusercontent.com/8598dcca740df366d7836160d9bcb2401922993188924d11405489cda9c7ed03/68747470733a2f2f692e696d6775722e636f6d2f574975585879732e706e67)
New, broken, behaviour:
![2021-10-01_14-42](https://camo.githubusercontent.com/91ea6f834a09ff629102af955d7455258d62bb6ba34c695c30f43f36e9b4a031/68747470733a2f2f692e696d6775722e636f6d2f38576b6d614b792e706e67)
The commits which could've possibly caused this misbehaviour:
neovim/neovim@73280a7
neovim/neovim@ec4731d
neovim/neovim@63fde08 (<-- most likely)
The text was updated successfully, but these errors were encountered: