summaryrefslogtreecommitdiff
path: root/doc/ale-java.txt
diff options
context:
space:
mode:
authorHoracio Sanson <horacio@allm.net>2018-08-24 16:20:44 +0900
committerHoracio Sanson <horacio@allm.net>2018-08-24 16:28:15 +0900
commit3afff5a24c088988cd93529e62185f0dcc80da45 (patch)
tree15cdc1b3100e7b5faf7e3873f85e3ff6809b0fe3 /doc/ale-java.txt
parent707b539969df55d9372135d8b15771693699d5ac (diff)
downloadale-3afff5a24c088988cd93529e62185f0dcc80da45.zip
Add vscode-java-language-server linter
Diffstat (limited to 'doc/ale-java.txt')
-rw-r--r--doc/ale-java.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/ale-java.txt b/doc/ale-java.txt
index 4481e823..827a268c 100644
--- a/doc/ale-java.txt
+++ b/doc/ale-java.txt
@@ -76,4 +76,27 @@ g:ale_java_pmd_options *g:ale_java_pmd_options*
===============================================================================
+javalsp *ale-java-javalsp*
+
+To enable Java LSP linter you need to download and build the vscode-javac
+language server from https://github.com/georgewfraser/vscode-javac. Simply
+download the source code and then build the plugin using maven:
+
+ mvn package
+
+This generates a out/fat-jar.jar file that contains the language server. To
+let ALE use this language server you need to set the g:ale_java_javalsp_jar
+variable to the absolute path of this jar file.
+
+g:ale_java_javalsp_jar *g:ale_java_javalsp_jar*
+ *b:ale_java_javalsp_jar*
+
+ Type: String
+ Default: 'fat-jar.jar
+
+ Path to the location of the vscode-javac language server plugin.
+ and -d. They are added automatically.
+
+
+===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: