KtfmtArgs

mill.kotlinlib.ktfmt.KtfmtArgs
See theKtfmtArgs companion object
case class KtfmtArgs(style: String = ..., format: Boolean = ..., removeUnusedImports: Boolean = ...)

Arguments for KtfmtModule.ktfmt.

Value parameters

format

if auto-formatting should be done. Default is "true"

removeUnusedImports

flag to remove unused imports if auto-formatting is applied. Default is "true".

style

formatting style to apply, can be either "kotlin", "meta" or "google". Default is "kotlin".

Attributes

Companion
object
Source
KtfmtArgs.scala
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala