ioi-2023 / contestant-vm

Contestant virtual machine for online IOI (since 2020)
1 stars 2 forks source link

vscodevim isn't actually installed #58

Closed baltitenger closed 1 year ago

radl97 commented 1 year ago

It is downloaded, and importing it from GUI works. However, after installing, it enables the VIM extension, making life harder for everyone not wanting to use vim.

I think the best behavior we can come up with is installing and disabling vim. Summarized in a picture:

image

During investigation, I have found:

radl97 commented 1 year ago

HSC last year [...] said that it was impossible to have an extension installed in VSCode but disabled by default programmatically (they linked this and this).

So we cannot disable-by-default too easily. I think we can do one of two things.

This goes also for #60 .

baltitenger commented 1 year ago

Yeah, I forgot to mention that I did some research too, and it seems that the disabled state of extensions is stored in an sqlite db. I gues it might be possible to do programmatically but slightly painful.