Files
oam/knowledge base/vscodium.md
2024-06-15 14:08:41 +02:00

2.1 KiB

VSCodium

Troubleshooting

Zsh terminal icons are not getting displayed in the terminal

Change font to NotoSansMono Nerd Font in the Terminal > Integrated > Font Family settings.
See Why Zsh terminal icons are not getting displayed in Atom Platformio Ide Terminal?

Flatpak version

In case you missed, the README file is at /app/share/codium/README.md

FAQ

This version is running inside a container and is therefore not able to access SDKs on your host system!

To execute commands on the host system, run inside the sandbox

flatpak-spawn --host <COMMAND>

Host Shell

To make the Integrated Terminal automatically use the host system's shell, you can add this to the settings of vscodium:

{
  "terminal.integrated.shell.linux": "/usr/bin/env",
  "terminal.integrated.shellArgs.linux": ["--", "flatpak-spawn", "--host", "bash"]
}

SDKs

This flatpak provides a standard development environment (gcc, python, etc). To see what's available:

flatpak run --command=sh com.vscodium.codium
ls /usr/bin (shared runtime)
ls /app/bin (bundled with this flatpak)

To get support for additional languages, you have to install SDK extensions, e.g.

flatpak install flathub org.freedesktop.Sdk.Extension.dotnet
flatpak install flathub org.freedesktop.Sdk.Extension.golang
FLATPAK_ENABLE_SDK_EXT=dotnet,golang flatpak run com.vscodium.codium

You can use

flatpak search <TEXT>

to find others.

Run flatpak codium from host terminal

If you want to run codium /path/to/file from the host terminal just add this to your shell's rc file

alias codium="flatpak run com.vscodium.codium"

then reload sources, now you could try:

$ codium /path/to/
# or
$ FLATPAK_ENABLE_SDK_EXT=dotnet,golang codium /path/to/

Sources