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
Interesting enough I tried using the spotless plugin with ktfmt and that indeed formatted my .kts files so I'm not sure what the difference is between the two since I thought spotless just delegates to the jar. Thanks!
The text was updated successfully, but these errors were encountered:
Glad you liked it!
The culprit is Main.kt line 124, which only considers files with a "kt" extension.
Would you be interested in sending a PR? (If you do, please also update the corresponding test, if there is one)
I've been trying out ktfmt today and I found that the cmd line jar formatter isn't formatting my .kts build files.
I'm using:
java -jar /path/to/ktfmt-<VERSION>-jar-with-dependencies.jar .
and it fixed all .kt but not .kts files.
Interesting enough I tried using the spotless plugin with ktfmt and that indeed formatted my .kts files so I'm not sure what the difference is between the two since I thought spotless just delegates to the jar. Thanks!
The text was updated successfully, but these errors were encountered: