flathub / com.visualstudio.code

https://flathub.org/apps/details/com.visualstudio.code
150 stars 69 forks source link

VS Code `--user-data-dir` not work #123

Open ghost opened 4 years ago

ghost commented 4 years ago

Linux distribution and version

Ubuntu 18.04

Flatpak version

latest of ppa

Description of the problem

parameter does not work correctly --user-data-dir flatpak run com.visualstudio.code --user-data-dir /root/.vscode

After restarting Visual Code settings are not applied

Steps to reproduce

flatpak install flathub com.visualstudio.code flatpak override com.visualstudio.code --filesystem=host flatpak run com.visualstudio.code --user-data-dir /root/.vscode

close VS Code and flatpak run com.visualstudio.code --user-data-dir /root/.vscode and the parameters do not apply

JaneSmith commented 1 month ago

Same issue here. It keeps polluting my home directory with ~/.vscode/ and ~/.dotnet/ folders. Could this be fixed? Even better would be if it could just set it by default to ~/.var/app/com.visualstudio.code/config/ to be a well-behaved Flatpak app.