News for hackers. Stuff that matters.
Re:From Mac to Linux – the setup I've grown to love by lancebeet on Sunday August 25, 2019 @11:43AM (#20793545)
>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.

Re:From Mac to Linux – the setup I've grown to love by tsar9x on Sunday August 25, 2019 @01:19PM (#20794125)
There is VS Code Remote Dev extension, so you can have everything in ssh/wsl/docker and only use VS Code in Windows as UI.
Re:From Mac to Linux – the setup I've grown to love by jimnotgym on Sunday August 25, 2019 @04:16PM (#20795281)
This, 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).