this is my first post here, sorry when its a dumb request.
I run fedora silverblue and i really like it. The only thing i don’t grasp fully is the workflow with containers as a developer.
At the moment i have just on distrobox container with my jvm and clojure stuff inside and connect with the vscode flatpak like its recommended on the distrobox github page.
And this way of connecting to a container and work on it is what i like, but how is it possible with other editors, ide’s (free ones like emacs)?
I dont want install my editor in the container because then i have to duplicate it for all kinds of projects. I really want to understand what is possible with a container setup.
I’ve only just started playing with container development myself, so this isn’t a definitive answer, more of an observation.
An IDE doesn’t need to install itself inside a distrobox to do either of these things:
Edit source code. You just keep and edit your source code in a directory on the host, and have the distrobox bind-mount that.
Execute anything that can be done by running a shell command on the distrobox. (The IDE can just do the equivalent of distrobox-enter my-python-container -- python3 my_script.py or whatever.) So compiling and running code is not too complicated.
I think the additional value you get by having an IDE component installed in the container would be more around debugging. (Not that isn’t important!)