Java: helix can find documentation but cannot go to implementation #9052
Unanswered
AdityaMayukhSom
asked this question in
Troubleshooting
Replies: 2 comments 4 replies
-
According to the nvim-lspconfig repository you need an extension to do that: neovim/nvim-lspconfig#784 (comment) |
Beta Was this translation helpful? Give feedback.
1 reply
-
As helix currently does not support any extensions, are there any workarounds for now to this problem? As sometimes there are virtually no documentation and inspecting the inner implementations of the class is the easiest way to understand it's purpose. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I was implementing an XML syntax checker in java, when I required to see the inner implementation of a class implemented in core java. But when I used

gd
it showedno definition found
.But when using

Space-k
, it can fetch the documentation and show it. I am using jdtls as the language server.I tried

gd
on a locally implemented class and it worked fine by opening the declaration of the class in a new buffer.I tried with classes imported from packages installed by maven, but there too the documentation was fetched but the class definition could not be opened.
Reproduction Steps
I tried this:
gd
on the class name.I expected this to happen:
The class definition to get opened in a new buffer.
Instead, this happened:
no definition found
was showed in the status line.Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
xterm-256color
Installation Method
zypper
Helix Version
helix 23.10 (f6021dd)
Beta Was this translation helpful? Give feedback.
All reactions