vscodium icon indicating copy to clipboard operation
vscodium copied to clipboard

the directory `~/.vscode-oss` is created

Open daiyam opened this issue 5 years ago • 8 comments

Describe the bug

I've tested VSCodium on linux and I found out that it creates the directory ~/.vscode-oss. It shouldn't do that.

Here the tested distros:

  • lastest Arch (arch)
  • Fedora 33 (rpm)
  • Linux Mint 18.3 (deb)
  • PoP! OS 20.04 (deb)

daiyam avatar Mar 18 '21 14:03 daiyam

~~Soon, I will have a PR to fix this issue.~~ Also it isn't limited to linux... Here it is: #673

daiyam avatar Mar 19 '21 02:03 daiyam

Yeah, it's described in docs. So you should fix them too. Maybe add a temporal small note to README for non-breaking user experience.

paulcarroty avatar Mar 19 '21 17:03 paulcarroty

Ya, I was doing some testing on Linux and was seeing the directory being created. And I was asking myself, why that vscode-oss is being created since it's VSCodium??? I do think it should be changed.

daiyam avatar Mar 19 '21 18:03 daiyam

It's from the product.json. I figured that people who built manually (Code OSS) would want to share settings/extensions with VSCodium. Maybe should be a fully separate dir. Any particular problem with it using .vscode-oss though?

stripedpajamas avatar Mar 20 '21 04:03 stripedpajamas

The problem is lack of clarity. Some users may delete .vscode-oss by mistake like I did 😊

For sharing a symlink is enough, but it feels strange as default.

paulcarroty avatar Mar 20 '21 09:03 paulcarroty

Any progress here?

paulcarroty avatar Apr 12 '21 19:04 paulcarroty

Late for the party, but following option can overcome installing extensions in ~/.vscode-oss. However, it doesn't get rid of the directory itself (unfortunately).

You can use the --extensions-dir option to set the install directory for extension, e.g.

code-oss --user-data-dir "$HOME/.config/vscode" --extensions-dir "$HOME/.config/vscode/extensions"'

This create no extension directory in ~/.vscode-oss, which has now only the file argv.json.

Hope this helps

janpb avatar Jul 23 '21 12:07 janpb

I think it should be part of https://github.com/VSCodium/vscodium/pull/293

daiyam avatar Jul 23 '21 13:07 daiyam