• hirihit640@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    Fair point, I’ve struggled with VSCode as well. I started looking into using a local container with VSCode’s remote dev add-ons (the ones you use for sshing into a remote machine but in this case it would just be a local container), and then installing all language servers and tooling inside the container. Do you have any experience with that?

    • lil_baka@ani.social
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      24 hours ago

      I only used something similar to mess around with Hytale modding a bit, but it was only easy because there was fully ready-to-use premade solution. But in general, if you’re willing to go that way, I think the most simple option would be to create a distrobox with ubuntu/debian/fedora/arch (depending on which distro covers things you need better), install vs code there (using native package manager of given distribution), and then distrobox-export VS Code from that distrobox. Then you can simply manage everything inside of distrobox using full power of distribution you chose. To make things even better, distrobox has automatic passthrough of most hardware. For Nvidia in particular, you need to pass flag “–nvidia” when doing “distrobox-create”. After that, you can even use game engines like Unity or Godot from distrobox with full GPU passthrough.