Watching Scala 3 macro compile time println's / log entries in IntelliJ
Q: When I try out a Scala 3 macro, the inline definition of the macro itself with the splicing, and the function which e.g. is using quotations, when I compile this in sbt I get printed all macro println's to the console at compile-time, as it is expected.
However, when I switch to IntelliJ with the Scala plugin, bsp and bloop compile server installed, those macro println's are missing when I compile, and even I looked into any log I could open, but could not find those macro println's. Any idea how I could see those printlns in Intellij?
I am using BSP, Bloop, Scala Compile Server.
I slightly suspect that compile server output does not reach Intellij build console.
A: Instead of using the hidden IntelliJ BSP Bloop compile server, in an IntelliJ console tool window, run "sbt ~compile" (while being pwd'ed in the correct project path).
IntelliJ will use this as the build server (since it won't start two at the same time - sytem-wide) and you will see the macro compile-time println log entries in this sbt console printout.