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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was able to get the Java jdtls working with the following config:
While it worked for very simple things like
:LspReferencesor:LspDefinitionfor 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.Appthat has a method returning aMyClassfromcom.foo.bar.qux.MyClass.:LspDefinitionsays it can't find any definitions. Same for:LspTypeDefinition. However, if I opencom.foo.bar.qux.MyClass, those commands start working as expected from theAppclass.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