You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting! I admit I removed this method too eagerly, it was previously not well documented that only org.scalafmt.Scalafmtis protected by binary compatibility. Docs on integrating with scalafmt as a standalone library are here https://scalameta.org/scalafmt/#Standalonelibrary
Given this is the second ticket on the same issue (see #1204) I think it's best to re-introduce the old method
Note that neo-scalafmt is using internal APIs which are subject to binary and source breaking changes between any release. Docs on using scalafmt as a library can be seen here https://scalameta.org/scalafmt/#Standalonelibrary
Using versions:
sbt
version 0.13.16neo-sbt-scalafmt
version 1.15 (coursier versionsbt-scalafmt-coursier
)scalafmt
version 1.6.0-RC1 (set inscalafmtVersion
sbt setting)When I run scalafmt like this:
Scalafmt fails with the following error message:
Using scalafmt version 1.5.1 this does not occur.
The text was updated successfully, but these errors were encountered: