!SoEcwMwiYQRtGcKNvD:matrix.org

scalameta/scalameta

414 Members
Discord bridge for scalameta/scalameta3 Servers

Load older messages


SenderMessageTime
20 Mar 2024
@_discord_438509186624520213:t2bot.iorpiaggioRedacted or Malformed Event19:56:30
@_discord_438509186624520213:t2bot.iorpiaggioimage.png
Download image.png
19:57:09
@_discord_734849617820254331:t2bot.iovelvetbaldmime#0 Ok, so I've minimised it somewhat:

val component =
  List(1,2,3)
    .map: (props) =>
      TableOptions(
        getRowId = (row, _, _) =>
          row.value match
            case Left(HeaderRow(rowId, _)) => rowId
            case Right(stepRow)            => stepRow.step.rowId,
        onColumnSizingChange = dynTable.onColumnSizingChangeHandler
      )
19:58:13
@_discord_734849617820254331:t2bot.iovelvetbaldmime#0 it's indeed fascinating - disappears if I remove onColumnSizingChange 19:58:41
@_discord_438509186624520213:t2bot.iorpiaggio awesome that you could minimize it 19:59:18
@_discord_734849617820254331:t2bot.iovelvetbaldmime#0 You can go ahead and create an issue on scalameta repo 19:59:35
@_discord_734849617820254331:t2bot.iovelvetbaldmime#0 with the minimiser 19:59:38
@_discord_438509186624520213:t2bot.iorpiaggio 👍 thank you 19:59:50
@_discord_438509186624520213:t2bot.iorpiaggio the match clause with indentation as a parameter seems to be culprit 20:01:11
@_discord_438509186624520213:t2bot.iorpiaggio if I put braces there, it works 20:01:27
@_discord_438509186624520213:t2bot.iorpiaggio https://github.com/scalameta/scalameta/issues/3664 20:10:13
22 Mar 2024
@_discord_857280409585975296:t2bot.iomkharytonau joined the room.12:28:22
23 Mar 2024
@_discord_806168127985156116:t2bot.ioArtur Opala changed their display name from Artur Opala to arturopala.17:17:29
26 Mar 2024
@_discord_180387064884232192:t2bot.ioz1kkurat changed their profile picture.08:04:43
@_discord_983704385630658600:t2bot.iopowerful_monkey_59758_71986 joined the room.15:25:19
@_discord_253271083740823562:t2bot.iopixelateddog joined the room.15:32:51
29 Mar 2024
@_discord_936395565154054144:t2bot.ioeje4073 joined the room.23:49:59
30 Mar 2024
@_discord_518111661866090507:t2bot.iokurro#9452 changed their display name from kurro9452 to water_underscore.18:03:18
1 Apr 2024
@_discord_318714777536823299:t2bot.iocarlosedp joined the room.20:06:09
4 Apr 2024
@ondrejspanel:matrix.orgOndřej Španěl joined the room.07:34:49
@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

07:43:08
@_discord_392428121342869534:t2bot.ioTomasz Godzik 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. 13:14:09
@_discord_392428121342869534:t2bot.ioTomasz Godzik probably it's possible to fix that case though 🤔 13:15:11
@_discord_594749312123142149:t2bot.ioquafadas Coudl this work:

https://scalameta.org/scalafmt/docs/configuration.html#-format-off
13:55:19
@_discord_594749312123142149:t2bot.ioquafadas Then it simply won't tamper with the way you set it out? 13:55:34
5 Apr 2024
@ondrejspanel:matrix.orgOndřej ŠpanělSorry, wrong room. Forwarded to scalafmt.05:56:05
@_discord_730321412962779246:t2bot.iooclok_ joined the room.09:46:23
7 Apr 2024
@_discord_951568303590105189:t2bot.ioshaked 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:25
10 Apr 2024
@_discord_808674836901527612:t2bot.iothanh.le joined the room.01:15:50

Show newer messages


Back to Room ListRoom Version: 9