All my dev stuff, editors included, is in a Debian distrobox - since that's usually well supported by tooling, but you could also go with Ubuntu for even better support and/or Nix for more obscure packages.
GUI applications work fine from a distrobox and it makes the integration very painless (eg. VSCodium extensions). You can export them with a built-in command and it will even create a regular desktop entry for them.