jwillikers / vscodium-settings

My settings for the VSCodium code editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VSCodium Settings

My settings for the VSCodium application.

Usage

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

Install these settings with the following instructions.

  1. Clone this repository.

    ➜ git -C ~/Projects clone git@github.com:jwillikers/vscodium-settings.git
  2. 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/
  3. 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.

    1. Set a standard, shared tmp directory for VSCodium to function as expected.

      ➜ flatpak override --user --env=TMPDIR=/var/tmp com.vscodium.codium
    2. Ensure the functions configuration directory for the fish shell exists.

      ➜ mkdir -p ~/.config/fish/functions/
    3. 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.

Update

To update the settings in this repository from an existing installation, follow these steps.

  1. If you haven’t already done so, clone this repository.

    ➜ git -C ~/Projects clone git@github.com:jwillikers/vscodium-settings.git
  2. 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/
  1. 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.

    1. 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/

Code of Conduct

The project’s Code of Conduct is available in the CODE_OF_CONDUCT.adoc file.

License

This repository is licensed under the GPLv3, available in the LICENSE.adoc file.

© 2020-2021 Jordan Williams

Authors

About

My settings for the VSCodium code editor.

License:Other


Languages

Language:Shell 100.0%