!DcMiGSARTbXTMPuFGd:matrix.org

scalameta/scalafmt

415 Members
Discord bridge for scalameta/scalafmt3 Servers

Load older messages


SenderMessageTime
26 Mar 2024
@ekrich:matrix.orgekrich joined the room.18:08:41
29 Mar 2024
@_discord_936395565154054144:t2bot.ioeje4073 joined the room.23:49:59
30 Mar 2024
@_discord_518111661866090507:t2bot.iowater_underscore changed their display name from kurro9452 to water_underscore.18:03:18
1 Apr 2024
@_discord_318714777536823299:t2bot.iocarlosedp changed their display name from carlosedp#0 to carlosedp.20:06:07
5 Apr 2024
@ondrejspanel:matrix.orgOndřej Španěl joined the room.05:54:36
@ondrejspanel:matrix.orgOndř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
@ondrejspanel:matrix.orgOndř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
@ondrejspanel:matrix.orgOndřej Španěl Coudl this work:

https://scalameta.org/scalafmt/docs/configuration.html#-format-off
05:56:31
@ondrejspanel:matrix.orgOndřej Španěl Then it simply won't tamper with the way you set it out? 05:56:39
@ondrejspanel:matrix.orgOndř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
@ondrejspanel:matrix.orgOndř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
@_discord_730321412962779246:t2bot.iooclok_ joined the room.09:46:23
7 Apr 2024
@_discord_951568303590105189:t2bot.ioshaked9252 changed their display name from shaked to shaked9252.08:27:51
8 Apr 2024
@_discord_840225175391698974:t2bot.io_jasperm changed their profile picture.07:33:24
10 Apr 2024
@_discord_808674836901527612:t2bot.iothanh.le changed their display name from thanh.le#0 to thanh.le.01:15:50
@_discord_736011134901026867:t2bot.iobumblebread. joined the room.22:59:04
11 Apr 2024
@_discord_188611596832997385:t2bot.ioarturaz changed their profile picture.09:31:24
@_discord_716432228917444620:t2bot.iodavesmith00000 changed their profile picture.10:23:05
12 Apr 2024
@_discord_435406890562879488:t2bot.iofel_mazo joined the room.09:25:33
@_discord_895755448119070761:t2bot.ionphardass joined the room.11:25:18
14 Apr 2024
@_discord_711364897921040415:t2bot.iosumew joined the room.15:49:18
15 Apr 2024
@_discord_642856193827536896:t2bot.iovalencik changed their profile picture.12:31:42
16 Apr 2024
@_discord_494806222650998785:t2bot.iowu_lynx joined the room.15:44:28
@_discord_425500181031551007:t2bot.iojackkoenig changed their profile picture.20:29:15
@_discord_341614860507021322:t2bot.ioandy.czerwonka joined the room.23:17:41
17 Apr 2024
@_discord_764117987707846707:t2bot.ioashwin1899 joined the room.07:25:43
18 Apr 2024
@_discord_810210642229329929:t2bot.iomzuehlke joined the room.06:39:00
@_discord_1106610376281444433:t2bot.ioemperorf joined the room.13:18:35
@_discord_474360877689208843:t2bot.iozanpreston joined the room.15:57:31
19 Apr 2024
@_discord_378367005624893452:t2bot.iorodney0 changed their profile picture.17:05:49

There are no newer messages yet.


Back to Room ListRoom Version: 9