joaotavora / eglot

A client for Language Server Protocol servers
GNU General Public License v3.0
2.22k stars 203 forks source link

JDTLS not working right #1043

Closed sabinpocris closed 1 year ago

sabinpocris commented 1 year ago

Hi, If I am into a Maven project, I get "file is a non-project file, only syntax errors are reported" .

However, if I change the -data parameter I get "class cannot be resolved to a type", even though the class's implementation is in the same folder.

Googling I saw another issue like this, maybe using (java-mode . ("jdtls" "-data" ".jdtls-cache")) is not the right choice?

What can I do?

I'm using the last jdtls snapshot, last eglot version and openjdk 18.

joaotavora commented 1 year ago

What can I do?

Ask the jdtls folks, maybe