scalafmt icon indicating copy to clipboard operation
scalafmt copied to clipboard

Code formatter for Scala

Results 39 scalafmt issues
Sort by recently updated
recently updated
newest added

version = 3.5.8 Is there a setting so it configure new line based on regex or yhis symbol (&&, ||)? What I have ```scala val t = a == b...

## Steps Given code like this: ```scala val myList = ( "b", "c", "d", "a", .... ) ``` ## Expectation I would like to add a comment/annotation to this long...

## Configuration (required) ## ``` version = 3.5.8 runner.dialect = scala3 ``` ## Steps Given code like this: ```scala #!/usr/bin/env scala @main def run() = println("hello world!") ``` ## Problem...

Updates [io.get-coursier:interface](https://github.com/coursier/interface) from 0.0.17 to 0.0.25. [GitHub Release Notes](https://github.com/coursier/interface/releases/tag/v0.0.25) - [Version Diff](https://github.com/coursier/interface/compare/v0.0.17...v0.0.25) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...

Currently, our CI generates GraalVM native images for Linux and macOS. https://github.com/scalameta/scalafmt/blob/master/.github/workflows/native.yml It would be nice if we also automaticlly generated a native image on Windows. It looks like GraalVM...

help wanted

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/) Restrict the GitHub token permissions only to the required...

Is it possible to sort functions/methods and value/variables alphabetically? I would love this feature :)

help wanted
rewrite
feature request

## Changes * Project structure was changed in compliance with `sbt-crossproject`. * `googlecode`'s `diffutils` had to be removed, as Scala Native does not support java libraries. In its place, part...

It would be awesome to support the scalafmt cli on native to avoid JVM startup time. I managed to get it working with `publishLocal` a while ago and experienced ~30x...

Hi, Caliban (https://github.com/ghostdogpr/caliban) is using `scalafmt-dynamic` as a dependency of some of its modules and because scalafmt is not published for Scala 3 it creates issues (https://github.com/ghostdogpr/caliban/issues/1239) Do you think...

help wanted