My settings for the VSCodium application.
These settings contain the settings file and the a list of extensions. These settings are synchronized using this Git repository. The following instructions detail how to use and sync this repository.
Install these settings with the following instructions.
-
Clone this repository.
➜ git -C ~/Projects clone [email protected]:jwillikers/vscodium-settings.git
-
Copy the
settings.json
file to the appropriate location.ℹ️Close VSCodium before copying the settings file. - Flatpak
-
➜ cp ~/Projects/vscodium-settings/settings.json \ ~/.var/app/com.vscodium.codium/config/VSCodium/User/
- System Package
-
➜ cp ~/Projects/vscodium-settings/settings.json \ ~/.config/VSCodium/User/
-
Install each extension listed in the
extensions.txt
file.- Flatpak
-
➜ xargs -ra ~/Projects/vscodium-settings/extensions.txt -I{} flatpak run com.vscodium.codium --install-extension {}
- System Package
-
➜ xargs -ra ~/Projects/vscodium-settings/extensions.txt -I{} codium --install-extension {}
- Flatpak
-
There is some additional Flatpak-specific setup.
-
Set a standard, shared
tmp
directory for VSCodium to function as expected.➜ flatpak override --user --env=TMPDIR=/var/tmp com.vscodium.codium
-
Ensure the
functions
configuration directory for the fish shell exists.➜ mkdir -p ~/.config/fish/functions/
-
Install an alias for the fish shell which also appropriately handles running via Flatpak and from inside a toolbox.
➜ cp ~/Projects/vscodium-settings/codium.fish ~/.config/fish/functions/
Thank you Carmen Bianca Bakker for the blog post Using Fedora Silverblue for development, the source of the original Bash script for accomplishing this.
-
To update the settings in this repository from an existing installation, follow these steps.
-
If you haven’t already done so, clone this repository.
➜ git -C ~/Projects clone [email protected]:jwillikers/vscodium-settings.git
-
Copy the
settings.json
file from the appropriate location to the Git repository.- Flatpak
-
➜ cp ~/.var/app/com.vscodium.codium/config/VSCodium/User/settings.json \ ~/Projects/vscodium-settings/
- System Package
-
➜ cp ~/.config/VSCodium/User/settings.json \ ~/Projects/vscodium-settings/
-
Add any currently installed extensions to the
extensions.txt
file.- Flatpak
-
➜ flatpak run com.vscodium.codium --list-extensions \ >> ~/Projects/vscodium-settings/extensions.txt; \ and sort -u -o ~/Projects/vscodium-settings/extensions.txt \ ~/Projects/vscodium-settings/extensions.txt
- System Package
-
➜ codium --list-extensions >> ~/Projects/vscodium-settings/extensions.txt; \ and sort -u -o ~/Projects/vscodium-settings/extensions.txt \ ~/Projects/vscodium-settings/extensions.txt
- _Flatpak
-
The Flatpak requires additional steps.
-
Install an alias for the fish shell which also appropriately handles running via Flatpak and from inside a toolbox.
➜ cp ~/.config/fish/functions/codium.fish ~/Projects/vscodium-settings/
-
The project’s Code of Conduct is available in the CODE_OF_CONDUCT.adoc file.
This repository is licensed under the GPLv3, available in the LICENSE.adoc file.