-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Use an UI to override/implement methods. #358
Comments
Improving the UI sounds good, but I don't want nvim-jdtls to have a dependency on telescope and would rather have an abstraction that allows users to plug-in different implementations. A first step would be to change |
Nice. I like this. I did not mean to add a telescope dependency anyway, I was just showing that the concept of the UI would improve things. So is there a plan or so in regards to this issue? |
With #360 all require('jdtls.ui').pick_many = function(items, prompt, label_f, opts)
local co = coroutine.running()
call_other_async_version(..., function(result)
coroutine.resume(co, result)
end)
return coroutine.yield()
end) Changing the default implementation is still on my todo |
Ah, perfekt. Thanks! Waiting for the default too 👀 |
Problem Statement
Hey 👋, thank you for your nice work!
Right now, when I try to implement methods, using the command line to select them is pretty uncomfortable, and also not very nice looking:
It would be nice to have some UI to be able to do that instead.
Ideas or possible solutions
One could use f.e telescope to be able to select that. Telescope offers the ability to select the items:
I am just demonstrating the Idea, of course selecting multiple code actions and applying them does not work with LSPs.
Thank you very much for your support :)
The text was updated successfully, but these errors were encountered: