Re: Sounds very useful for cross platform devs
Another angle on this is Visual Studio. It supports compilation / debugging of C/C++ on Linux, ssh'ing in to the Linux VM / host to use gcc, gdb and gdbserver. It's very good. The only slight annoyance is that VS can't see /usr/include, so Intellisense gets a bit angry; MS recommend copying that over to the Windows side so that VS can see the files there, but I use Expandrive to map the Linux's /usr/include to a drive letter on Windows.
I've yet to try this in WSL instead of a Linux VM, but it ought to work (provided sshd can be run).
VS also understands CMAKE these days. Which is pretty cool.
In comparison Eclipse CDT on Linux has become a bloated, memory hogging ghastly mess. Using Visual Studio and spinning up a whole Linux VM, I use less RAM than Eclipse does all by itself for the same project.
VS Code on Linux makes a lot of sense too.