A Java language server based on v3.0 of the protocol and implemented using the Java compiler API.
Install Java jdk: https://www.oracle.com/java/technologie ... loads.html
The language server seems to require version 18.x when writing this.
Download the language server: https://github.com/georgewfraser/java-language-server
* Extract the server to a folder (and make sure the path does not contain spaces).
* Open a terminal window in the language server folder and type:
Now you can add the server to a project.
Code: Select all
>mvn dependency:resolve >mvn dependency:resolve -Dclassifier=sources >scripts\link_windows.sh >mvn package -DskipTests
Add the server in project/sites settings
Java language server
Command line arguments
File extension and language id
* Command line (stdio)
<Path to your go project files>