How do people here have their set up? I was looking to set myself up, but get an error that says could not find a process named /path/to/project/projectname
I have found this link (thanks mmstick but it didn’t run for me :( )
If you need to develop and link to system libraries with the Flatpak version of VS Code, you will need to install
openssh-server
on the system, and then using the Remote SSH extension. Then you can SSH from the sandbox to the host system. Alternative, you can develop software using any platform and without relying on system libraries with VS Code Dev Containers with Docker/Podman. Finally, it is possible to use nix-shell as a development environment as an alternative to Docker/Podman.Personally, I use the Remote SSH extension so that I can use my laptop to develop code that’s maintained and compiled by my desktop. That way my laptop can focus purely on rendering the UI and reducing energy consumption. Also justifies keeping the desktop on throughout the day. If not for developing things specifically for Pop, I’d use nix-shell for setting up development environments.
Thank you for sharing a solution and your workflow. I will be trying it out :)
I’ve had bad luck installing vs code in a flatpak, the sandbox isn’t great for code editors.
At least I am in good company.
Might just be because of the sandboxed nature of flatpaks, I had similar problems on emacs, before realizing I had installed it using flatpak…
For things like text editors, it’s mostly better to use non-flatpaks, so they won’t have issues accessing extensions or files or whatever, like you’re seeing.