public class ScalaExtension extends FormatExtension
Modifier and Type | Class and Description |
---|---|
class |
ScalaExtension.ScalaFmtConfig |
steps, target
Constructor and Description |
---|
ScalaExtension(SpotlessExtension rootExtension) |
Modifier and Type | Method and Description |
---|---|
ScalaExtension.ScalaFmtConfig |
scalafmt() |
ScalaExtension.ScalaFmtConfig |
scalafmt(String version) |
protected void |
setupTask(SpotlessTask task)
If the user hasn’t specified the files yet, we’ll assume he/she means all of the kotlin files.
|
addStep, bumpThisNumberIfACustomStepChanges, clearSteps, custom, custom, customLazy, customLazyGroovy, encoding, endWithNewline, getEncoding, getExistingStep, getLineEndings, getProject, ignoreErrorForPath, ignoreErrorForStep, indentWithSpaces, indentWithSpaces, indentWithTabs, indentWithTabs, licenseHeader, licenseHeaderFile, paddedCell, paddedCell, parseTarget, replace, replaceRegex, replaceStep, setEncoding, setEncoding, setLineEndings, target, trimTrailingWhitespace
public ScalaExtension(SpotlessExtension rootExtension)
public ScalaExtension.ScalaFmtConfig scalafmt()
public ScalaExtension.ScalaFmtConfig scalafmt(String version)
protected void setupTask(SpotlessTask task)
If the user hasn’t specified the files yet, we’ll assume he/she means all of the kotlin files.
setupTask
in class FormatExtension