I have implemented a simple sbt plugin which I published locally to my .ivy repository. I wanted to use this plugin on one of my project for which I added it in my plugins.sbt file. I then tried to run this from the console and it failed with the…
The following piece of code:
class Test:
/** A very
* useful
* piece
* of
* documentation
*/
def helloWorld =
42 match
case 42 =>
a()
b()
/** A very
* useful
* piece
* of
*…
I have a type declaration somewhat similar to this one:
type AwesomeType[F[_], X, Y] =
Foo[F] ?=>
Bar[F, X] ?=>
Baz[F, X] ?=>
Waffle[X] ?=>
F[Y]
when I run scalafmt with align.preset = more, it attempts to squeeze this chain of…
I like the clean code, I mean code formatted with for example scalafmt (https://scalameta.org/scalafmt/).
I've always add the file .scalafmt.conf in the root folder of the project. Then, everytime I save a source file it gets formatted…
Is it possible in scalafmt to set intendation to be like in intellij formatter so just after ending of (
ie:
case class SomeMessage(
id: UUID
)
I see only ability to setup tab numbers but its counted…