mill.kotlinlib.ktfmt

Members list

Type members

Classlikes

case class KtfmtArgs(style: String, format: Boolean, removeUnusedImports: Boolean)

Arguments for KtfmtModule.ktfmt.

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KtfmtArgs

Attributes

Companion
class
Source
KtfmtArgs.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
KtfmtArgs.type
trait KtfmtBaseModule extends JavaModule

Attributes

Source
KtfmtModule.scala
Supertypes
trait JavaModule
trait RunModule
trait TaskModule
trait BspModule
trait Module
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
trait KtfmtModule
object KtfmtModule

Performs formatting checks on Kotlin source files using Ktfmt.

Performs formatting checks on Kotlin source files using Ktfmt.

Attributes

Companion
object
Source
KtfmtModule.scala
Supertypes
trait JavaModule
trait RunModule
trait TaskModule
trait BspModule
trait Module
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all

Attributes

Companion
trait
Source
KtfmtModule.scala
Supertypes
trait JavaModule
trait RunModule
trait TaskModule
trait BspModule
class BaseModule
trait Module
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Self type