That's what devcontainers are for. You create the config and the editor runs effectively inside of the docker container. Works surprisingly good. Vscode for example even Auto proxies opened ports inside of the container to the host etc.
Will also make using Linux tooling a lot easier on non- Linux hosts like Windows/MacOS
I see, it's rare to interact with someone that hasn't discovered dependency management yet and hasn't made that part of their project. If you did manage to integrate that into your, it would consequently make it a one time time investment, because things are automatically pulled in with the versions specified.