KtfmtArgs

mill.kotlinlib.ktfmt.KtfmtArgs
See theKtfmtArgs companion object
@Scaladoc(value = "/**\n * Arguments for [[KtfmtModule.ktfmt]].\n *\n * @param style formatting style to apply, can be either \"kotlin\", \"meta\" or \"google\". Default is \"kotlin\".\n * @param format if auto-formatting should be done. Default is \"true\"\n * @param removeUnusedImports flag to remove unused imports if auto-formatting is applied. Default is \"true\".\n */")
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 Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product