Skip to content

daw1012345/vscode-for-toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VScode for Toolbox - Simple yet robust helper script for VSCode-Toolbox Integration

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.

Installation

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).

Usage

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.

Acknowledgements

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.

Related

About

Simple, working script for VSCode-Toolbox Integration

Topics

Resources

License

Stars

Watchers

Forks