zio.blocks.codegen.emit.EmitterConfig
See theEmitterConfig companion object
final case class EmitterConfig(indentWidth: Int = ..., sortImports: Boolean = ..., scala3Syntax: Boolean = ..., trailingCommas: Boolean = ...)
Configuration for the Scala code emitter.
Value parameters
- indentWidth
-
Number of spaces per indentation level (default: 2)
- scala3Syntax
-
Whether to use Scala 3 syntax features (default: true)
- sortImports
-
Whether to sort imports alphabetically (default: true)
- trailingCommas
-
Whether to use trailing commas in multi-line constructs (default: true)
Attributes
- Companion
- object
- Source
- EmitterConfig.scala
- Graph
-
- Supertypes
Members list
In this article