-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
LSP Fill struct
code action doesn't work (golang)
#1299
Comments
Can you run helix with the |
Sorry, here:
|
Ah I see, looks like it wants to execute LSP commands, we don't have that code path currently implemented. #183 Probably not that much work to add though, it would enable some other features too |
I will give it a shot if I may. Also, close this in favor of the original issue? |
So I tried with b86781f, but currently helix hands for 20s and times out when I try to apply code action with command
|
I think the problem is the You will want to change the Then, for the time being simply |
I think it's okay to keep this one open so it tracks |
@archseer thanks a lot for the suggestion, it all looks fine with your suggestions I am just wondering how to handle the lifetimes for language server when using
on #1304. Any help appreciated. |
Fill XXX
code action for golang doesn't do anything.Reproduction steps
Create
main.go
file with following content:place cursor inside the brackets of
X{}
, pressspace + a
, selectFill X
code action.Environment
2021-12-18T22:45:55.225 helix_lsp::transport [ERROR] err: <- StreamClosed
I tried to find more details but without much success so above reproduction steps is all I currently have. Will try to find out more.
The text was updated successfully, but these errors were encountered: