FormatConfig
data class FormatConfig(val indentSize: Int = 4, val maxLineLength: Int = 120, val indentStyle: IndentStyle = IndentStyle.SPACE, val insertFinalNewline: Boolean = true)(source)
Configuration for code formatting in emitted output.
Constructors
Link copied to clipboard
constructor(indentSize: Int = 4, maxLineLength: Int = 120, indentStyle: IndentStyle = IndentStyle.SPACE, insertFinalNewline: Boolean = true)
Types
Properties
Link copied to clipboard
The number of indent characters per level.
Link copied to clipboard
The character style used for indentation.
Link copied to clipboard
Returns the string representation of a single indent level.
Link copied to clipboard
Whether to insert a trailing newline at end of file.
Link copied to clipboard
The maximum line length before wrapping.