Replies: 1 comment
-
I did my own version of the script in the mentioned discussion #!/usr/bin/env bash
JDT_INSTALLATION_PATH="$HOME/.local/share/nvim/mason/packages/jdtls"
JAR="$JDT_INSTALLATION_PATH/plugins/org.eclipse.equinox.launcher_*.jar"
LOMBOK_DIR="$JDT_INSTALLATION_PATH/lombok.jar"
/usr/lib/jvm/java-17-openjdk-amd64/bin/java \
-Declipse.application=org.eclipse.jdt.ls.core.id1 \
-Dosgi.bundles.defaultStartLevel=4 \
-Declipse.product=org.eclipse.jdt.ls.core.product \
-Dlog.protocol=true \
-Dlog.level=ALL \
-Xms1g \
-Xmx2G \
-javaagent:$LOMBOK_DIR \
-jar $(echo "$JAR") \
-configuration "$JDT_INSTALLATION_PATH/config_linux" \
-data "$HOME/.jdtls/workspace" \
--add-modules=ALL-SYSTEM \
--add-opens java.base/java.util=ALL-UNNAMED \
--add-opens java.base/java.lang=ALL-UNNAMED
completion is able to pick up the builder function but diagnoses didn't |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've tried adding javaagent as mentioned in this discussion but couldn't get it to work.
My config
lombok_path:
Can't load builder, same issue for .getX()
Beta Was this translation helpful? Give feedback.
All reactions