!VduNnCmIzFzrSqbgFs:matrix.org

scalameta/vscode-users

444 Members
Discord bridge for scalameta/vscode-users4 Servers

Load older messages


SenderMessageTime
20 Apr 2024
@_discord_608368372446527663:t2bot.iokmarek I think we currently download coursier anyway, it's also used for downloading metals. 15:16:46
@_discord_683010390145368169:t2bot.iospamegg1 kmarek [this](https://github.com/scalameta/metals/pull/6262) has the side effect that we cannot run computations in worksheets longer than 30 seconds. Can we control the timeout length? (It will affect the annual Advent of Code badly in December.) I also commented in the [issue](https://github.com/scalameta/metals/issues/4796). 16:20:12
21 Apr 2024
@_discord_260493929047130113:t2bot.iozestar75 Is there a way to switch metals on/off?

I'm using a monorepo and metals consumes quite a lot of memory, too much to have 2 LPSs running concurrently, when I'm using the other one I'd like to switch off metals.

I could open the other folders as my vs code project such that metals doesn't see them and turn on, but I preferably still want to be able to have a look at .scala files
06:36:24
@_discord_392428121342869534:t2bot.ioTomasz Godzik There is nothing unfortunately. You could limit memory via xmx, metals shouldn't need to consume too much 06:49:39
@_discord_392428121342869534:t2bot.ioTomasz Godzik Vs Code might be missing those, if you start from your terminal does it have the needed variable? 06:50:23
@_discord_392428121342869534:t2bot.ioTomasz Godzik Does reverting to metals extension 1.29.0 help here? 06:50:57
22 Apr 2024
@_discord_391890009319276546:t2bot.iorenghen joined the room.10:02:42
@_discord_375292405697740800:t2bot.io.phantomsnake I can see the variables in the VSCode terminal if I start VSCode from the terminal. 14:21:30
@_discord_375292405697740800:t2bot.io.phantomsnake I read that metals uses an npm package to check for Java. I was wondering if the package was installed or if that is blocked too. 14:23:35
@_discord_375292405697740800:t2bot.io.phantomsnake How do I downgrade? 14:23:46
@_discord_392428121342869534:t2bot.ioTomasz Godzik In the extension tab you can choose a version 14:24:05
@_discord_392428121342869534:t2bot.ioTomasz Godzik We use an npm library to locate java 14:24:26
@_discord_392428121342869534:t2bot.ioTomasz Godzik But that should work normally since it's included in th extension 14:24:40
@_discord_375292405697740800:t2bot.io.phantomsnake Looks like 1.29.0 detected Java. It failed to retrieve some metals packages since it appears our proxy is down. 14:32:39
@_discord_392428121342869534:t2bot.ioTomasz Godzik When you started Vs code from terminal did it also manage to detect java? 14:35:12
@_discord_375292405697740800:t2bot.io.phantomsnake The latest one kept failing at the coursier error. I reinstalled the extension a few times. 14:39:35
@_discord_392428121342869534:t2bot.ioTomasz Godzik Would be great if you could put the logs from the latest version into an issue, we should make sure that is fixed 14:45:57
23 Apr 2024
@_discord_188611596832997385:t2bot.ioarturazimage.png
Download image.png
15:03:52
@_discord_188611596832997385:t2bot.ioarturaz Is there a shortcut to show docs for the current method? In Idea it would be ctrl+q. 15:04:11
@_discord_375292405697740800:t2bot.io.phantomsnake I’ll see what I can do. I can’t use GitHub from work so it would be difficult. 15:59:14
@_discord_375292405697740800:t2bot.io.phantomsnake Our artifactory (maven proxy) has an aggressive blocking policy. It’s not able to download the jars to set up metals. okio-1.17.2 for example failed to download because it is blocked due to a CVE. 16:01:59
@_discord_375292405697740800:t2bot.io.phantomsnake Do you know if there a workaround for this? 16:02:58
@_discord_392428121342869534:t2bot.ioTomasz Godzik Is that used transitively from metals 😬 16:09:02
@_discord_188611596832997385:t2bot.ioarturazimage.png
Download image.png
17:54:28
@_discord_188611596832997385:t2bot.ioarturaz Is there a setting where I could get metals more memory or something? It feels like it doesn't do much 😦 17:54:31
@_discord_683010390145368169:t2bot.iospamegg1Screenshot_from_2024-04-23_21-33-32.png
Download Screenshot_from_2024-04-23_21-33-32.png
18:34:41
@_discord_683010390145368169:t2bot.iospamegg1 arturaz You can pass on some properties. 18:34:42
@_discord_375292405697740800:t2bot.io.phantomsnake I think so. I can’t verify though. 19:08:46
@_discord_375292405697740800:t2bot.io.phantomsnake * I think so. I can’t verify that though. 19:09:06
24 Apr 2024
@_discord_546733161388703811:t2bot.iodigitalmechanic joined the room.10:26:54

There are no newer messages yet.


Back to Room ListRoom Version: 9