Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the directory ~/.vscode-oss is created #671

Closed
daiyam opened this issue Mar 18, 2021 · 8 comments
Closed

the directory ~/.vscode-oss is created #671

daiyam opened this issue Mar 18, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@daiyam
Copy link
Member

daiyam commented Mar 18, 2021

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 daiyam added the bug Something isn't working label Mar 18, 2021
@daiyam
Copy link
Member Author

daiyam commented Mar 19, 2021

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

@paulcarroty
Copy link
Collaborator

paulcarroty commented Mar 19, 2021

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.

@daiyam
Copy link
Member Author

daiyam commented Mar 19, 2021

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.

@stripedpajamas
Copy link
Member

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?

@paulcarroty
Copy link
Collaborator

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
Copy link
Collaborator

Any progress here?

@janpb
Copy link

janpb commented Jul 23, 2021

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

@daiyam
Copy link
Member Author

daiyam commented Jul 23, 2021

I think it should be part of #293

@daiyam daiyam closed this as completed Sep 28, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants