Utility method to change dialect on ScalafmtConfig.
Utility method to change dialect on ScalafmtConfig.
Binary compatibility is guaranteed between releases, unlike with ScalafmtConfig.copy.
Format Scala code using scalafmt.
Format Scala code using scalafmt.
Code string to format.
Configuration for formatting output.
EXPERIMENTAL. Format a subset of lines.
Formatted.Success if successful, Formatted.Failure otherwise. If you are OK with throwing exceptions, use Formatted.Success.get to get back a string.