scalafmt Questions

2

Solved

I have the scala format plugin in my multi project sbt repository. addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.2") So in the sbt console if I run scalafmt it works fine My build.sbt ha...
Bifid asked 6/4, 2020 at 12:42

0

Is there a scalafmt config which is reformat code the same way like IntelliJ with scala plugin does now ? I have a problem with configuring it, and my team mates use IntelliJ only I VsCode and very...
Ultimogeniture asked 22/11, 2019 at 10:41

1

Solved

In a scala project where we are using IntelliJ community edition, we want to use multiple packages per file, so that we can reference them with shorter syntax: package com.dreamlines.dragonfly pac...
Lehr asked 10/9, 2019 at 15:22

1

I have bunch of scala projects. They shall share a common code style. I am using scalafmt to enforce certain rules, yet I have to create a .scalafmt.conf for each project. If the team changes ...
Apophthegm asked 17/6, 2019 at 8:58

1

Solved

After running any SBT task (e.g. compile) scalafmt is executed and changes line endings on some computers (most of them use Windows). Is it possible to set line endings in scalafmt.conf or any othe...
Bostow asked 19/6, 2018 at 10:21
1

© 2022 - 2024 — McMap. All rights reserved.