!hVYkPByWdqNfJKveFs:matrix.org

scalameta/general

427 Members
Discord bridge for scalameta/general5 Servers

Load older messages


SenderMessageTime
16 Feb 2024
@_discord_583167330566275072:t2bot.iosethtisue changed their profile picture.16:30:01
17 Feb 2024
@_discord_734849617820254331:t2bot.iovelvetbaldmime changed their profile picture.13:56:08
19 Feb 2024
@_discord_659458872486002691:t2bot.iofel_her changed their profile picture.20:48:55
20 Feb 2024
@_discord_839723269250875422:t2bot.iomtomko joined the room.16:35:16
@qwqawawow:matrix.org98765abc joined the room.19:32:06
22 Feb 2024
@_discord_243462255088238593:t2bot.ioKeir joined the room.11:32:56
23 Feb 2024
@_discord_516731310249607214:t2bot.io.spf3000 joined the room.04:44:21
@_discord_683010390145368169:t2bot.iospamegg1 changed their profile picture.07:20:21
25 Feb 2024
@_discord_154558903290560512:t2bot.iojd557 changed their profile picture.11:03:15
@_discord_116289795570925569:t2bot.ioDomas Poliakas changed their profile picture.11:08:56
@_discord_882757000197472276:t2bot.iodoofin000 changed their display name from doofin to doofin000.18:53:05
27 Feb 2024
@_discord_781903705553109043:t2bot.iopritchett1234 joined the room.21:55:06
@_discord_416649166492532747:t2bot.iohmemcpy changed their profile picture.22:03:39
28 Feb 2024
@_discord_518111661866090507:t2bot.ioVMetals changed their display name from kurro#9452 to kurro9452.08:47:23
@_discord_233683447992811521:t2bot.iouff0 joined the room.12:50:39
@_discord_233683447992811521:t2bot.iouff0 changed their profile picture.12:50:40
@_discord_233683447992811521:t2bot.iouff0 Hello everyone! I'm look for recommendations of a library/tool/project which could produce a call graph from scala source code. Does anyone have any suggestions? 12:50:41
@_discord_392428121342869534:t2bot.ioTomasz Godzik There is a functionality in LSP that you should be able to use. Call hierarchy I think it's called 12:52:13
@_discord_392428121342869534:t2bot.ioTomasz Godzik Probably needs some love, since I don't think a lot of users know about it 12:52:39
@_discord_583167330566275072:t2bot.iosethtisue this might interest you: https://github.com/lightbend-labs/scala-sculpt 14:16:31
@_discord_583167330566275072:t2bot.iosethtisue (for Scala 2 only, though) 14:16:54
@_discord_632303296094142464:t2bot.iompilquist changed their profile picture.16:35:20
@_discord_632729825647525922:t2bot.ioekrich changed their profile picture.18:03:04
29 Feb 2024
@_discord_787647294610472981:t2bot.iojimka2001 joined the room.10:40:45
@_discord_659458872486002691:t2bot.iofel_her Hey all. Sorry for posting here, I have a more involved question, somewhere at the intersection of metals, sbt as a build server, and scalajs. Feel free to redirect me where ever you see fit.

In a lot of projects that have both a web-interface as well as a backend, I use scalajs and laminar for the frontend and normal scala/jvm for the backend. I often start 2 sbts in parallel. In the first, I'm doing:
project projectJVM
~reStart

using sbt revolver to restart my process when a file used by the JVM project changes

In the second I'm doing
sbt
project projectJS
~fastLinkJS


regenerating my website when the UI files change.

I don't want to do something like ~fastLinkJS;reStart in the root project because that would restart my server even though only JS files changed.

Now when switching from bloop to sbt as the buildserver for metals, things seem to go awry. Sometimes one or both of the sbts stop compiling. Sometimes spurious errors pop up. Sometimes I get errors like this:
[error] ## Exception when compiling 165 sources to ...../inheritance/jvm/target/scala-3.3.1/classes
[error] java.nio.file.NoSuchFileException: ....../inheritance/jvm/target/scala-3.3.1/classes.bak/sbt10842950307439078630.class


Is it just a bad idea to use sbt as a build server when you have started two sbt in parallel? Should I change the way I do it because there is a better way to only restart the server on JVM changes?
11:10:38
@_discord_659458872486002691:t2bot.iofel_her (sorry for the novel) 11:10:46
@_discord_392428121342869534:t2bot.ioTomasz Godzik In reality there is only one SBT server running and it seems that it's not copying well with having metals connect to it and also SBT revolver running 11:43:30
@_discord_392428121342869534:t2bot.ioTomasz Godzik We actually almost have hot code reload ready via both bloop and SBT, which might work better. Not 100% sure but that's just a guess 11:44:44
@_discord_392428121342869534:t2bot.ioTomasz Godzik For bloop we need to release it, but SBT should actually work when running via metals 11:45:14
@_discord_392428121342869534:t2bot.ioTomasz Godzik It's all new and untested so keep on mind it might not solve your problems 11:45:41

Show newer messages


Back to Room ListRoom Version: 9