3. Plug-in options

Expand/unexpand tabs

If this option is turned on:

  • When loading a Java file, replace all tab characters contained in source code by equivalent space characters using the number specified by the Tab width field.

  • When saving a Java file, replace space characters contained in source code by equivalent tab characters using the number specified by the Tab width field.

This option is needed because currently, unlike all text editors, XXE cannot display tab characters expanded.

Turning this option off makes Java source code less readable in XXE but has the advantage of not modifying the source code at all (which may be very important for source code managed using a version control system).

Default: checked.

Tab width

Distance in characters between tab stops.

Default: 8.

Line separator

When saving a Java file, use this string to separate lines. Line separator is "\n" on Unix/Linux/MacOS X, "\r\n" on Windows, "\r" on Mac (before MacOS X).

Use "-" to specify the native line separator of the platform whatever it is.

Default: "-" (platform native line separator).

Max. line length

When saving a Java file, try not to generate Javadoc lines that exceed this length.

Default: 78.

Default encoding

Encoding used when loading and saving a Java file if the encoding has not been specified by other means (for example by a HTTP connection).

Use "-" to specify the native encoding of the platform whatever it is.

Default: "-" (platform native encoding).