2017-03-28 18:25:44 -04:00
|
|
|
===============================================================================
|
|
|
|
ALE Java Integration *ale-java-options*
|
|
|
|
|
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-08-10 05:45:12 -04:00
|
|
|
checkstyle *ale-java-checkstyle*
|
2017-05-12 09:42:32 -04:00
|
|
|
|
2017-08-10 05:45:12 -04:00
|
|
|
g:ale_java_checkstyle_options *g:ale_java_checkstyle_options*
|
|
|
|
*b:ale_java_checkstyle_options*
|
2017-05-12 09:42:32 -04:00
|
|
|
|
|
|
|
Type: String
|
|
|
|
Default: '-c /google_checks.xml'
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to checkstyle.
|
|
|
|
|
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-03-28 18:25:44 -04:00
|
|
|
javac *ale-java-javac*
|
|
|
|
|
|
|
|
g:ale_java_javac_classpath *g:ale_java_javac_classpath*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_java_javac_classpath*
|
2017-03-28 18:25:44 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to change the global classpath for Java.
|
|
|
|
|
|
|
|
|
2018-04-08 15:35:06 -04:00
|
|
|
g:ale_java_javac_executable *g:ale_java_javac_executable*
|
|
|
|
*b:ale_java_javac_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'javac'`
|
|
|
|
|
|
|
|
This variable can be set to change the executable path used for javac.
|
|
|
|
|
|
|
|
|
2017-03-28 18:25:44 -04:00
|
|
|
g:ale_java_javac_options *g:ale_java_javac_options*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_java_javac_options*
|
2017-03-28 18:25:44 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to javac.
|
|
|
|
|
|
|
|
|
2017-12-09 08:52:15 -05:00
|
|
|
===============================================================================
|
2017-12-17 07:10:07 -05:00
|
|
|
google-java-format *ale-java-google-java-format*
|
2017-12-09 08:52:15 -05:00
|
|
|
|
|
|
|
|
2017-12-17 07:10:07 -05:00
|
|
|
g:ale_java_google_java_format_executable
|
|
|
|
*g:ale_java_google_java_format_executable*
|
|
|
|
*b:ale_java_google_java_format_executable*
|
2017-12-09 08:52:15 -05:00
|
|
|
Type: |String|
|
|
|
|
Default: `'google-java-format'`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-12-17 07:10:07 -05:00
|
|
|
g:ale_java_google_java_format_options *g:ale_java_google_java_format_options*
|
|
|
|
*b:ale_java_google_java_format_options*
|
2017-12-09 08:52:15 -05:00
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options
|
|
|
|
|
2018-04-09 11:45:08 -04:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
pmd *ale-java-pmd*
|
|
|
|
|
|
|
|
g:ale_java_pmd_options *g:ale_java_pmd_options*
|
|
|
|
*b:ale_java_pmd_options*
|
|
|
|
|
|
|
|
Type: String
|
|
|
|
Default: '-R category/java/bestpractices'
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to PMD. Do not specify -f
|
|
|
|
and -d. They are added automatically.
|
|
|
|
|
|
|
|
|
2018-08-24 03:20:44 -04:00
|
|
|
===============================================================================
|
|
|
|
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.
|
|
|
|
|
2018-12-05 07:27:02 -05:00
|
|
|
g:ale_java_javalsp_executable *g:ale_java_javalsp_executable*
|
|
|
|
*b:ale_java_javalsp_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'java'`
|
|
|
|
|
|
|
|
This variable can be changed to use a different executable for java.
|
|
|
|
|
2018-08-24 03:20:44 -04:00
|
|
|
g:ale_java_javalsp_jar *g:ale_java_javalsp_jar*
|
|
|
|
*b:ale_java_javalsp_jar*
|
|
|
|
|
2018-12-05 07:27:02 -05:00
|
|
|
Type: |String|
|
|
|
|
Default: `'fat-jar.jar'`
|
2018-08-24 03:20:44 -04:00
|
|
|
|
|
|
|
Path to the location of the vscode-javac language server plugin.
|
|
|
|
|
|
|
|
|
2018-09-04 20:39:32 -04:00
|
|
|
===============================================================================
|
|
|
|
uncrustify *ale-java-uncrustify*
|
|
|
|
|
|
|
|
See |ale-c-uncrustify| for information about the available options.
|
|
|
|
|
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-03-28 18:25:44 -04:00
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|