Skip to content

bug: Missing capabilities on jdtls-1.33.0 #145

@Zeioth

Description

@Zeioth

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.9.5

Operating system/version

arch

Describe the bug

jdtls-1.33.0 is missing several capabilities
screenshot_2024-03-21_16-54-32_142771729

jdtls have them
screenshot_2024-03-21_16-54-02_471118991

The missing LSP capabilities are:

"textDocument/codeAction"
"textDocument/codeLens"
"textDocument/hover"
"textDocument/signatureHelp"
"textDocument/references"
"textDocument/rename"

A workaround for this issue is to have both jdtls and jdtls-1.33.0 installed, but then you get the nasty notification
screenshot_2024-03-21_17-03-44_328542822

But it would be ideal to add the missing capabilities to the jdtls-1.33.0 we are currently shipping.

Steps To Reproduce

  1. Install nvim-java as specified in the readme.
  2. Open a example project.

You won't be able to see references, code lens, or the rest of missing capabilities.

Expected Behavior

The jdtls-1.33 we ship from our registers should have the same level of capabilities the jdtls shipped by mason has.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions