I have a lot of trouble keeping these separate. I use MacOS - you can have many desktops, but they're all in the same workspace. I think what I was is something like tmux for my whole computer, where I can switch away from a project and come back and be where I left off, with only the content from that project.
I actually tried to build this myself as the OS level, but Mac seems to lock everything down pretty hard.
Anybody have a good solution?