I am struggling to execute my codes on my Linux VM, with all files inside my local Windows machine.
So, I have my source code at for example: D:\myCodes\ and
the files are shared to my Linux VM at /media/sf_codes
I linked all my relevant files at /media/sf_codes/src/ to /opt/myCodes/src/. All other files are irrelevant, and only contains about diagrams, SQL files, etc etc that has nothing to do with the Linux VM. So I only link the src folder into the project folder at /opt/myCodes.
I have tried to use Remote-SSH extension, but it just to won't load all files. It is either load local files, and disables all SSH shell, or it opens a folder at the Linux VM. Which is not necessary because the files are local. And I need to su it under different user to be able to write the files, which complicate things a lot. I was able to do it using Docker or WSL, but their use of HyperV complicate things, and broke many things. So I am back with VirtualBox.
I don't need fancy stuffs like sync or whatever magic they provide, just open SSH shell in terminal, preferably multiple ssh terminals to multiple Linux VMs, and work the files in local folder, and that's it.
I think if they can sync the files, what I need is a basic thing to do, and somehow I missed that. How can I do that in VS Code?