public class ScalaExtension extends FormatExtension
| Modifier and Type | Class and Description |
|---|---|
class |
ScalaExtension.ScalaFmtConfig |
FormatExtension.EclipseWtpConfig, FormatExtension.LicenseFileHeaderConfig, FormatExtension.LicenseHeaderConfig, FormatExtension.LicenseStringHeaderConfig, FormatExtension.NpmStepConfig<T extends FormatExtension.NpmStepConfig<?>>, FormatExtension.PrettierConfigsteps, target, targetExclude| 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, createIndependentTask, custom, custom, customLazy, customLazyGroovy, eclipseWtp, eclipseWtp, encoding, endWithNewline, getEncoding, getExistingStep, getExistingStepIdx, getLineEndings, getProject, ignoreErrorForPath, ignoreErrorForStep, indentWithSpaces, indentWithSpaces, indentWithTabs, indentWithTabs, licenseHeader, licenseHeaderFile, paddedCell, paddedCell, parseTarget, prettier, prettier, prettier, replace, replaceRegex, replaceStep, setEncoding, setEncoding, setLineEndings, target, targetExclude, trimTrailingWhitespacepublic 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