Replies: 2 comments 2 replies
-
You probably want to enable logs? Are you hitting into this issue #1284? |
Beta Was this translation helpful? Give feedback.
-
Assuming that Each LSP client has (or should have) some way to declare the root folders. I'm not sure how it works with vim-lsp, but hopefully others can chime in. |
Beta Was this translation helpful? Give feedback.
-
I was able to get the Java jdtls working with the following config:
While it worked for very simple things like
:LspReferences
or:LspDefinition
for something in the same file, I found it to be quite limited.I can't do simple navigation between classes in different packages. For example I have
com.foo.bar.App
that has a method returning aMyClass
fromcom.foo.bar.qux.MyClass
.:LspDefinition
says it can't find any definitions. Same for:LspTypeDefinition
. However, if I opencom.foo.bar.qux.MyClass
, those commands start working as expected from theApp
class.Is there some setting I'm missing? Do I need to somehow tell the language server to load all the files in my project first?
Beta Was this translation helpful? Give feedback.
All reactions