14 years into Scala, I'm experimenting with a new way of formatting my code. I've started column-aligning each opening `(` of explicit/implicit parameter block, and the `:` of the return type in method/class definitions, with a four-space indent for long lines. Liking it so far.
-
Show this thread
-
6 replies 2 retweets 7 likesShow this thread -
Replying to @propensive
Forget it. Vertically aligning on a random column


1 reply 0 retweets 5 likes -
Replying to @dwijnand
Yeah, that took me about a decade too. Scalafmt persuaded me it was acceptable...
1 reply 0 retweets 0 likes -
Replying to @propensive
I and the community persuaded scalafmt it never had been acceptable and it still wasn't unacceptable: https://github.com/scalameta/scalafmt/issues/1151 … That **bug** is fixed in 1.6.0, which however is still in its RC cycle (RC4).
1 reply 0 retweets 2 likes -
Replying to @dwijnand @propensive
I'll need to get around to finish v1.6, there are still a couple unfixed regressions I haven't found time yet to address.
2 replies 0 retweets 1 like
I'm going to pass over the opportunity to read bikeshedding discussion I can't be a part of any more! ;)
4:41 AM - 24 Jul 2018
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.