yegappan / lsp

Language Server Protocol (LSP) plugin for Vim9
MIT License
484 stars 56 forks source link

JDTLS: Code actions seem broken #403

Closed trev-dev closed 1 year ago

trev-dev commented 1 year ago

I can get a contextual pop up of all the available code actions at a given buffer position. That list of options makes perfect sense.

If I choose any of them, I get the following error: Error: request workspace/executeCommand failed (No delegateCommandHandler for java.apply.workspaceEdit, error = MethodNotFound)

LSP Configuration: https://git.sr.ht/~trevdev/vim/tree/vim9lsp/item/plugins.vim#L50

Tachi107 commented 1 year ago

Did you follow these instructions contained in section lsp-custom-commands of the documentation?

https://github.com/yegappan/lsp/blob/38970403dc4d602056ea4028664206ffce74e82a/doc/lsp.txt#L1675-L1698

trev-dev commented 1 year ago

Ah, 1700 lines deep into the help docs. Thanks for this! I missed it.