This repository contains a simple, modern script automating smooth integration of Toolbox containers and VSCode (Flatpak).
NOTE: This project depends on the Flatpak version of VSCode. If it's missing, the installation script will install it for you.
sudo rpm-ostree install podman-compose
cd ~/
git clone https://github.com/daw1012345/vscode-for-toolbox vc-toolbox-helper
cd vc-toolbox-helper && ./install.py
export PATH=$HOME/vc-toolbox-helper/bin:$PATH
Make sure to add $HOME/vc-toolbox-helper/bin
to your $PATH
in a persistent way (that works within containers).
toolbox create
toolbox enter
cd ~/my_project && code (Or code ~/my_project)
Note: This currently only works with containers created after the installation of this tool. Support for existing containers is coming.
This project is based on toolbox-vscode. However, that project seems abandoned as it does not work due to changes in VScode. The more up-to-date method of integrating vscode and toolbox containers is based on the method from this great article.