An open API service indexing awesome lists of open source software.

https://github.com/jwillikers/vscodium-config

My settings for the VSCodium code editor.
https://github.com/jwillikers/vscodium-config

config dotfiles flatpak git linux settings vscode vscodium

Last synced: 2 months ago
JSON representation

My settings for the VSCodium code editor.

Awesome Lists containing this project

README

        

= VSCodium Settings
Jordan Williams
:experimental:
:icons: font
ifdef::env-github[]
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[]
:VSCodium: https://vscodium.com/[VSCodium]

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.

. Clone this repository.
+
[source,sh]
----
➜ git -C ~/Projects clone [email protected]:jwillikers/vscodium-settings.git
----

. Copy the `settings.json` file to the appropriate location.
+
--
NOTE: Close VSCodium before copying the settings file.

_Flatpak_::
+
[source,sh]
----
➜ cp ~/Projects/vscodium-settings/settings.json \
~/.var/app/com.vscodium.codium/config/VSCodium/User/
----

_System Package_::
+
[source,sh]
----
➜ cp ~/Projects/vscodium-settings/settings.json \
~/.config/VSCodium/User/
----
--

. Install each extension listed in the `extensions.txt` file.
+
--
_Flatpak_::
+
[source,sh]
----
➜ xargs -ra ~/Projects/vscodium-settings/extensions.txt -I{} flatpak run com.vscodium.codium --install-extension {}
----

_System Package_::
+
[source,sh]
----
➜ 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.
+
[source,sh]
----
➜ flatpak override --user --env=TMPDIR=/var/tmp com.vscodium.codium
----

.. Ensure the `functions` configuration directory for the fish shell exists.
+
[source,sh]
----
➜ mkdir -p ~/.config/fish/functions/
----

.. Install an alias for the fish shell which also appropriately handles running via Flatpak and from inside a https://github.com/containers/toolbox[toolbox].
+
--
[source,sh]
----
➜ cp ~/Projects/vscodium-settings/codium.fish ~/.config/fish/functions/
----

Thank you https://www.carmenbianca.eu[Carmen Bianca Bakker] for the blog post https://www.carmenbianca.eu/en/post/2021-02-05-silverblue-development/[Using Fedora Silverblue for development], the source of the original https://www.gnu.org/software/bash/[Bash] script for accomplishing this.
--

=== Update

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

. If you haven't already done so, clone this repository.
+
[source,sh]
----
➜ git -C ~/Projects clone [email protected]:jwillikers/vscodium-settings.git
----

. Copy the `settings.json` file from the appropriate location to the Git repository.
+
--
_Flatpak_::
+
[source,sh]
----
➜ cp ~/.var/app/com.vscodium.codium/config/VSCodium/User/settings.json \
~/Projects/vscodium-settings/
----

_System Package_::
+
[source,sh]
----
➜ cp ~/.config/VSCodium/User/settings.json \
~/Projects/vscodium-settings/
----
--

// todo Add instructions for using a merge tool to merge disparate settings files.

. Add any currently installed extensions to the `extensions.txt` file.
+
--
_Flatpak_::
+
[source,sh]
----
➜ 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_::
+
[source,sh]
----
➜ 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.
+
[source,sh]
----
➜ cp ~/.config/fish/functions/codium.fish ~/Projects/vscodium-settings/
----

== Code of Conduct

The project's Code of Conduct is available in the link:CODE_OF_CONDUCT.adoc[] file.

== License

This repository is licensed under the https://www.gnu.org/licenses/gpl-3.0.html[GPLv3], available in the link:LICENSE.adoc[] file.

== Copyright

© 2020-2021 Jordan Williams

== Authors

mailto:{email}[{author}]