22 Apr 2024 |
doofin000 | Tomasz Godzik yep there're already a completion, adding them as code action would be very handy. | 18:32:30 |
24 Apr 2024 |
| digitalmechanic joined the room. | 10:26:54 |
25 Apr 2024 |
| oyvindberg joined the room. | 20:48:50 |
| YeOldePorkchop changed their profile picture. | 20:57:04 |
26 Apr 2024 |
| bjornregnell joined the room. | 11:40:45 |
bjornregnell | I really like the green arrow play button in the margin for tests. Could we also have a green arrow play button on @main methods and on the line nbr 1 of .sc scripts? A green margin play button will be easier to spot in a busy window. Also if you activate a .sc script by allowing import of it, th "run | debug" seems to appear hidden above the scroll and I have to scroll on top to see it. If there was a green play button in the margin I'd see it more easily... | 11:44:04 |
bjornregnell | Download image.png | 11:45:23 |
tgodzik#4885 | Ach, I don't know how to do it. It's for sure possible but I think it goes beyond the standard Vs code api | 11:57:18 |
tgodzik#4885 | Maybe python extension does that? 🤔 | 11:57:32 |
bjornregnell | I got the idea when my .sc had a hidden "run | debug" after re-import... | 11:57:54 |
bjornregnell | Download image.png | 11:58:24 |
bjornregnell | but it's there... I have to scroll but no clue... | 11:59:02 |
bjornregnell | Download image.png | 11:59:04 |
bjornregnell | But the playbotton will be attached to the relevant line. | 11:59:21 |
bjornregnell | Another thing is that "run | debug" is kind of messing with vertical real estate, but the margin button does not... | 11:59:45 |
bjornregnell | Also when a file goes from error state to being runnable after fixing errors then a appearing grteen arrow will be a good cue of that it is now compiling | 12:01:17 |
bjornregnell | Also the @main methods will be easier to spot. | 12:01:52 |
bjornregnell | (Sorry for spamming all my arguments 🙂 ) | 12:02:07 |
bjornregnell | Well the green arrow in my tests appeared automatically after adding munit to my build.sbt | 12:03:55 |
bjornregnell | * Well the green arrow in my tests appeared automatically after adding munit to my build.sbt So I thought it should be the Metals extension doing that? | 12:04:19 |
bjornregnell | * But the playbotton will be attached to the *margin of the relevant line. | 12:05:02 |
bjornregnell | * But the playbotton will be attached to the margin of the relevant line. | 12:05:08 |
bjornregnell | * But the playbotton will be attached to the * margin * of the relevant line. | 12:05:20 |
bjornregnell | * Also when a file goes from error state to being runnable after fixing errors then an appearing green arrow will be a good cue of that it is now when from errors to runnable | 12:06:01 |
tgodzik#4885 | yes and no. It's part of Test Explorer API which we implement, but I don't think there is an equivalent for main methods | 12:37:10 |
tgodzik#4885 | And I totally agree about having it, just not sure how to do it best 😅 | 12:37:30 |
bjornregnell | Do you want me to add a feature request issue somewhere on github for the record? | 12:38:13 |
bjornregnell | * Do you want me to add a feature request issue somewhere (where?) on github for the record? | 12:40:17 |
tgodzik#4885 | sure, I makes sense. I will probably look at it on a slow weekend | 13:03:25 |
bjornregnell | https://github.com/scalameta/metals-feature-requests/issues/384 Sounds like a fun prjoect for a slow weekend 🙂 | 14:22:16 |