2 ms·
I decided to try using VS: Code (which was installed under Windows) to work on my projects. Opening a file ends up trashing it entirely. This is actually expect
by steveklabnik 10y ago
I decided to try using VS: Code (which was installed under Windows) to work on my projects. Opening a file ends up trashing it entirely. This is actually expected behavior; I just wasn't aware :(
- kej 10y agoFor what it's worth, `lxrun /uninstall /y /full` followed by `lxrun /install /y` will put the WSL environment back to "factory settings". Then as long as you don't try to look into the WSL side from Windows you'll be fine.
- steveklabnik 10y agoTotally. I just decided it was a good opportunity to actually move to Windows for real :)
- slrz 10y agoWhat? Files get trashed by just opening them? This is supposed to be expected behaviour?
- steveklabnik 10y agoYes. Native windows doesn't know how to read the filesystem, so it totally screws up the metadata. It's actually kinda hard to even do; the files are hidden by default, so you have to really go snooping to do this. Linux -> Windows works just fine. Windows -> Linux, not so much.