

Sure, Bazzite has some nice features. But, I would argue that apart from the Nvidia images (there is no AMD image) those are all minor things. And for Nvidia cards, the Mint Driver Manager is pretty good. I don’t think any of those differences play a role here.
In general, I think it’s really unhelpful to present “switch to my favorite distro” as the first step in troubleshooting an issue.
What kind of issues did/do you encounter?
The VS Code/Codium essentially provide a separate development environment within the flatpak container. All the tools there, and the shell are separate from your actual system. There are some ways to work around this (https://github.com/flathub/com.vscodium.codium/blob/master/README.md). I gave up on the Flatpak and installed a native package. Containers are nice, but they have their limitations.