diff options
author | Horacio Sanson <horacio@allm.net> | 2018-12-01 14:53:49 +0900 |
---|---|---|
committer | Horacio Sanson <horacio@allm.net> | 2019-04-11 08:50:04 +0900 |
commit | f02e2ec54cb39e6fcc73bbaf553cbfb0111944d4 (patch) | |
tree | 410a6adaa6942049c353e3d25eb8bff11498b5b6 /doc | |
parent | abcefe7a6e2555db924d56e3d88f28cf5b6a55e8 (diff) | |
download | ale-f02e2ec54cb39e6fcc73bbaf553cbfb0111944d4.zip |
Fix 1996 - Add eclipse LSP support.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-java.txt | 33 | ||||
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 1 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 35 insertions, 0 deletions
diff --git a/doc/ale-java.txt b/doc/ale-java.txt index aa226305..35967f03 100644 --- a/doc/ale-java.txt +++ b/doc/ale-java.txt @@ -102,6 +102,39 @@ This variable can be changed to use a different executable for java. =============================================================================== +eclipselsp *ale-java-eclipselsp* + +To enable Java LSP linter you need to clone and build the eclipse.jdt.ls +language server from https://github.com/eclipse/eclipse.jdt.ls. Simply +clone the source code repo and then build the plugin: + + ./mvnw clean verify + +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. + +After build completes the files required to run the language server will be +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. + +g:ale_java_eclipselsp_path *g:ale_java_eclipselsp_path* + *b:ale_java_eclipselsp_path* + + Type: |String| + Default: `'eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/repository'` + + Path to the location of the eclipse.jdt.ls product repository. + + +g:ale_java_eclipselsp_executable *g:ale_java_eclipse_executable* + *b:ale_java_eclipse_executable* + Type: |String| + Default: `'java'` + + This variable can be set to change the executable path used for java. + + +=============================================================================== uncrustify *ale-java-uncrustify* See |ale-c-uncrustify| for information about the available options. diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index 3f329ba2..066ca60d 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -195,6 +195,7 @@ Notes: * `ispc`!! * Java * `checkstyle` + * `eclipselsp` * `google-java-format` * `javac` * `javalsp` diff --git a/doc/ale.txt b/doc/ale.txt index 6155dc37..c9654c49 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1982,6 +1982,7 @@ documented in additional help files. google-java-format....................|ale-java-google-java-format| pmd...................................|ale-java-pmd| javalsp...............................|ale-java-javalsp| + eclipselsp............................|ale-java-eclipselsp| uncrustify............................|ale-java-uncrustify| javascript..............................|ale-javascript-options| eslint................................|ale-javascript-eslint| |