3 ms·
>I finally removed Ubuntu from my home laptop too. I'm now using it in WSL with VS Code. How does this work in practice? Do you run VS code from WSL with an X
by lancebeet 7y ago
>I finally removed Ubuntu from my home laptop too. I'm now using it in WSL with VS Code.
How does this work in practice? Do you run VS code from WSL with an X server? If not, how do you deal with VS code locking your files? As far as I know, the permission issues when accessing the same files from windows and WSL have yet to be solved.
I am very impressed with WSL and how far it's come in the last few years, but the integration between the linux and windows file systems doesn't seem to be quite as seamless as I would like to rely on it completely. I often find myself restarting the Lxssmanager to solve the file permission issues as well as the zombie process issue that still seems to plague WSL.
- tsar9x 7y agoThere is VS Code Remote Dev extension, so you can have everything in ssh/wsl/docker and only use VS Code in Windows as UI.
- jimnotgym 7y agoThis, except I don't use docker. Store files in Windows file system. I put a link between that location (/mnt/c/users/username/foo) and unix home. Open up Ubuntu app, navigate to the directory (~/foo), type 'code .' And a VS code server starts there and opens Code in Windows. Any extensions to Code need to be installed in WSL (there is an option under the extensions menu).