additionalJavacOptions - AtomLinter/linter-javac GitHub Wiki

Default: <<empty>>
Type: string

Description

Allows you to specify additional options for the Java-compiler. These additional options will be inserted at the end of the default-options which are needed to lint anyway.

Given you want to make use of the -d-option for your directory /class-cache you'd enter the additionalJavacOption simply as -d /class-cache. The linter will then invoke the following command:

javac -Xlint:all -d /class-cache sourcefiles...

The example above targets *nix-platforms.

Please notice that placeholders (like ~) may not work, you need to use absolute and full paths.

⚠️ **GitHub.com Fallback** ⚠️