20 Apr 2024 |
kmarek | I think we currently download coursier anyway, it's also used for downloading metals. | 15:16:46 |
spamegg1 | 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 |
zestar75 | 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 |
Tomasz Godzik | There is nothing unfortunately. You could limit memory via xmx, metals shouldn't need to consume too much | 06:49:39 |
Tomasz Godzik | Vs Code might be missing those, if you start from your terminal does it have the needed variable? | 06:50:23 |
Tomasz Godzik | Does reverting to metals extension 1.29.0 help here? | 06:50:57 |
22 Apr 2024 |
| renghen joined the room. | 10:02:42 |
.phantomsnake | I can see the variables in the VSCode terminal if I start VSCode from the terminal. | 14:21:30 |
.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 |
.phantomsnake | How do I downgrade? | 14:23:46 |
Tomasz Godzik | In the extension tab you can choose a version | 14:24:05 |
Tomasz Godzik | We use an npm library to locate java | 14:24:26 |
Tomasz Godzik | But that should work normally since it's included in th extension | 14:24:40 |
.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 |
Tomasz Godzik | When you started Vs code from terminal did it also manage to detect java? | 14:35:12 |
.phantomsnake | The latest one kept failing at the coursier error. I reinstalled the extension a few times. | 14:39:35 |
Tomasz 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 |
arturaz | Download image.png | 15:03:52 |
arturaz | Is there a shortcut to show docs for the current method? In Idea it would be ctrl+q. | 15:04:11 |
.phantomsnake | I’ll see what I can do. I can’t use GitHub from work so it would be difficult. | 15:59:14 |
.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 |
.phantomsnake | Do you know if there a workaround for this? | 16:02:58 |
Tomasz Godzik | Is that used transitively from metals 😬 | 16:09:02 |
arturaz | Download image.png | 17:54:28 |
arturaz | Is there a setting where I could get metals more memory or something? It feels like it doesn't do much 😦 | 17:54:31 |
spamegg1 | Download Screenshot_from_2024-04-23_21-33-32.png | 18:34:41 |
spamegg1 | arturaz You can pass on some properties. | 18:34:42 |
.phantomsnake | I think so. I can’t verify though. | 19:08:46 |
.phantomsnake | * I think so. I can’t verify that though. | 19:09:06 |
24 Apr 2024 |
| digitalmechanic joined the room. | 10:26:54 |