Merge pull request #2443 from JulioJu/patch-1

Documentation: ale-java eclipselsp customization
This commit is contained in:
w0rp
2019-04-17 11:57:14 +01:00
committed by GitHub

View File

@@ -114,9 +114,14 @@ Note: currently, the build can only run when launched with JDK 8. JDK 9 or more
recent versions can be used to run the server though. recent versions can be used to run the server though.
After build completes the files required to run the language server will be After build completes the files required to run the language server will be
located inside the folder |org.eclipse.jdt.ls.product/target/repository|. located inside the folder `org.eclipse.jdt.ls.product/target/repository`.
Ensure to set |g:ale_java_eclipselsp_path| to the absolute path of that folder. Ensure to set |g:ale_java_eclipselsp_path| to the absolute path of that folder.
You could customize compiler options and code assists of the server.
Under your project folder, modify the file
`.settings/org.eclipse.jdt.core.prefs` with options presented at
https://help.eclipse.org/neon/topic/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/JavaCore.html.
g:ale_java_eclipselsp_path *g:ale_java_eclipselsp_path* g:ale_java_eclipselsp_path *g:ale_java_eclipselsp_path*
*b:ale_java_eclipselsp_path* *b:ale_java_eclipselsp_path*