!TYZBVVPLZgmBKzUodS:matrix.org

scalacenter/scalafix

420 Members
Discord for scalacenter/scalafix3 Servers

Load older messages


SenderMessageTime
1 Apr 2024
@_discord_318714777536823299:t2bot.iocarlosedp 20:06:09
@_discord_318714777536823299:t2bot.iocarlosedp I have a Quarkus / Scala 3 project that uses Maven and I'm trying to use the maven plugin to have scalafix... but it didn't work with Scala 3 syntax... 20:06:47
@_discord_318714777536823299:t2bot.iocarlosedp any tips? 20:06:50
@_discord_318714777536823299:t2bot.iocarlosedp I've opened an issue about this but nothing yet: https://github.com/evis/scalafix-maven-plugin/issues/143 21:19:11
5 Apr 2024
@ondrejspanel:matrix.orgOndřej Španěl joined the room.05:54:41
@_discord_730321412962779246:t2bot.iooclok_ joined the room.09:46:24
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 joined the room.01:15:50
@_discord_316688777110224896:t2bot.iochanningwalton Hi, I've noticed that using scalafix results in my project being compiled twice when doing something like this: sbt "clean;scalafix --check;test"
I am probably the last to notice … but is it possible to stop recompilation?
16:33:12
@_discord_1005172653545488517:t2bot.iobjaglin Since https://github.com/scalacenter/sbt-scalafix/pull/196, the compilation triggered by invoking scalafix with sbt-scalafix is not cached because it relaxes some scalacOptions (like fatal warnings) to maximize the chances of getting compilation to go through. This could probably tweaked so that compilation is cached in case none of these flags are used (I am surprised no one asked in 3 years!). But in your specific case, the easiest is to run test first. 17:13:31
@_discord_1005172653545488517:t2bot.iobjaglin * Since https://github.com/scalacenter/sbt-scalafix/pull/196, the compilation triggered when invoking scalafix via sbt-scalafix is not cached because it relaxes some scalacOptions (like fatal warnings) to maximize the chances of getting compilation to go through. This could probably tweaked so that compilation is cached in case none of these flags are used (I am surprised no one asked in 3 years!). But in your specific case, the easiest is to run test first. 17:13:52
@_discord_1005172653545488517:t2bot.iobjaglin * Since https://github.com/scalacenter/sbt-scalafix/pull/196, the compilation triggered when invoking scalafix via sbt-scalafix is not cached because it relaxes some scalacOptions (like fatal warnings) to maximize the chances of getting compilation to go through. This could probably tweaked so that compilation is cached in case none of these flags is used (I am surprised no one asked in 3 years!). But in your specific case, the easiest is to run test first. 17:14:12
@_discord_316688777110224896:t2bot.iochanningwalton Ah ok that make sense. I can avoid the above just by turning on scalafixOnCompile and avoiding the scalafix --check step I think. I only noticed this at work because some monstrosity is taking 100s to compile. 17:14:49
@_discord_1005172653545488517:t2bot.iobjaglin * Since https://github.com/scalacenter/sbt-scalafix/pull/196, the compilation triggered when invoking scalafix via sbt-scalafix is not cached because it relaxes some scalacOptions (like fatal warnings) to maximize the chances of getting compilation to go through. This could probably be tweaked so that compilation is cached in case none of these flags is used (I am surprised no one asked in 3 years!). But in your specific case, the easiest is to run test first. 17:20:08
@_discord_1005172653545488517:t2bot.iobjaglin * Since https://github.com/scalacenter/sbt-scalafix/pull/196, the compilation triggered when invoking scalafix via sbt-scalafix is not cached because it relaxes some scalacOptions (like fatal warnings) to maximize the chances of getting compilation to go through. This could probably be tweaked so that compilation is cached in case none of these flags is used (I am surprised no one asked in 3 years!). But in your specific case, the easiest is to run test first. 17:21:11
@_discord_1005172653545488517:t2bot.iobjaglin * Since https://github.com/scalacenter/sbt-scalafix/pull/196, the compilation triggered when invoking scalafix via sbt-scalafix is not cached because it relaxes some scalacOptions (like fatal warnings flags), in order to maximize the chances of getting compilation to go through. This could probably be tweaked so that compilation is cached in case none of these flags is used (I am surprised no one asked in 3 years!). But in your specific case, the easiest is to run test first. 17:21:50
@_discord_1005172653545488517:t2bot.iobjaglin (but you'll have to make sure the original test runs before, otherwise you'll hit the same double-compilation issue 😃 ) 17:24:48
@_discord_316688777110224896:t2bot.iochanningwalton Thanks, doing it last fixed the issue. I'll go with that for now as a minimal change. 17:26:22
@_discord_736011134901026867:t2bot.iobumblebread. joined the room.22:59:06
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

Show newer messages


Back to Room ListRoom Version: 9