26 Mar 2024 |
| ekrich joined the room. | 18:08:41 |
29 Mar 2024 |
| eje4073 joined the room. | 23:49:59 |
30 Mar 2024 |
| water_underscore changed their display name from kurro9452 to water_underscore. | 18:03:18 |
1 Apr 2024 |
| carlosedp changed their display name from carlosedp#0 to carlosedp. | 20:06:07 |
5 Apr 2024 |
| Ondřej Španěl joined the room. | 05:54:36 |
Ondřej Španěl | Are there some configuration settings which would prevent scalafmt from breaking my lists into single line per item? The list is like:
val all = Set(
pelvis,
upperLeg0, lowerLeg0, feet0,
upperLeg1, lowerLeg1, feet1,
torso,
upperHand0, lowerHand0, palm0,
upperHand1, lowerHand1, palm1,
head
)
I have tried various binPack and unsafeXxxxSite options, but the result was always one entry per line. I would like my groups to stay grouped. See also https://github.com/scalameta/scalafmt/issues/3894
| 05:55:31 |
Ondřej Španěl | I wonder if scalafmt is actually what you want, since it has a lot of complexity and is not really good at cases where you want to have certain code formatted the way you have now. | 05:56:21 |
Ondřej Španěl | Coudl this work:
https://scalameta.org/scalafmt/docs/configuration.html#-format-off | 05:56:31 |
Ondřej Španěl | Then it simply won't tamper with the way you set it out? | 05:56:39 |
Ondřej Španěl | Yes, that would work, but such lists appear quite often in my code, I would prefer if there was a configuration so that they Just Work. I am quite content with the scalafmt formatting of the rest of the code, it works almost perfect for me when using newlines.source = keep and both binPack.unsafeXxxxSite = Always . | 05:59:37 |
Ondřej Španěl | * Forwarded from scalameta/scalameta, wrong room:
Are there some configuration settings which would prevent scalafmt from breaking my lists into single line per item? The list is like:
val all = Set(
pelvis,
upperLeg0, lowerLeg0, feet0,
upperLeg1, lowerLeg1, feet1,
torso,
upperHand0, lowerHand0, palm0,
upperHand1, lowerHand1, palm1,
head
)
I have tried various binPack and unsafeXxxxSite options, but the result was always one entry per line. I would like my groups to stay grouped. See also https://github.com/scalameta/scalafmt/issues/3894
| 06:14:11 |
| oclok_ joined the room. | 09:46:23 |
7 Apr 2024 |
| shaked9252 changed their display name from shaked to shaked9252. | 08:27:51 |
8 Apr 2024 |
| _jasperm changed their profile picture. | 07:33:24 |
10 Apr 2024 |
| thanh.le changed their display name from thanh.le#0 to thanh.le. | 01:15:50 |
| bumblebread. joined the room. | 22:59:04 |
11 Apr 2024 |
| arturaz changed their profile picture. | 09:31:24 |
| davesmith00000 changed their profile picture. | 10:23:05 |
12 Apr 2024 |
| fel_mazo joined the room. | 09:25:33 |
| nphardass joined the room. | 11:25:18 |
14 Apr 2024 |
| sumew joined the room. | 15:49:18 |
15 Apr 2024 |
| valencik changed their profile picture. | 12:31:42 |
16 Apr 2024 |
| wu_lynx joined the room. | 15:44:28 |
| jackkoenig changed their profile picture. | 20:29:15 |
| andy.czerwonka joined the room. | 23:17:41 |
17 Apr 2024 |
| ashwin1899 joined the room. | 07:25:43 |
18 Apr 2024 |
| mzuehlke joined the room. | 06:39:00 |
| emperorf joined the room. | 13:18:35 |
| zanpreston joined the room. | 15:57:31 |
19 Apr 2024 |
| rodney0 changed their profile picture. | 17:05:49 |