Format

Controls the reformatting of comments.

Single-line comments

Enables the reformatting of single-line comments. Only affects the space between leading delimiter and comment text as shown in the examples below.

Since 1.0.3

Example 2.757. Single-line comment

//Sometimes people run
//the comments against the delimiters

Example 2.758. Single-line comment (reformatted)

// Sometimes people run
// the comments against the delimiters

Multi-line comments

Enables the reformatting of multi-line comments. Only affects the leading asterixes of consecutive comment lines as shown in the examples below.

Example 2.759. Multi-line comment

/* Multi-line
* comment.
* end.
*/

Example 2.760. Multi-line comment (reformatted)

/* Multi-line
 * comment.
 * end.
 */

Please note that as of Jalopy 1.6 you can disable formatting of individual comments using the special /*- delimiter.

Example 2.761. Multi-line comment that keeps its style

/*- Comment that
* should NOT
* be formatted
*/