4 ms·
If I understand correctly, this is similar to Google's CitC (clients in the cloud) [1]. According to the article, Codespaces supports non-IDE users by allowing
by blt 5y ago
If I understand correctly, this is similar to Google's CitC (clients in the cloud) [1].
According to the article, Codespaces supports non-IDE users by allowing ssh. CitC supports non-IDE users with a network file system. This seems preferable - the editor runs on your local machine with low latency, but you still run tests on the cloud machine.
I wonder if Github supports this workflow, e.g. by configuring sshd to allow sshfs/sftp access.
[1] https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext https://cacm.acm.org/magazines/2016/7/204032-why-google-stor...
- ezfe 5y agoYou already can: curl -sSL https://raw.githubusercontent.com/microsoft/vscode-dev-containers/master/script-library/sshd-debian.sh https://raw.githubusercontent.com/microsoft/vscode-dev-conta... | sudo bash -s -- 2222 $(whoami) true random https://i.imgur.com/HiVj0ht.png https://i.imgur.com/HiVj0ht.png https://i.imgur.com/LLROf3P.png https://i.imgur.com/LLROf3P.png
- hamandcheese 5y agoThe problem I see with a remote filesystem is that you’ll still need tools for editor integrations - language servers, formatters, linters, etc. Sure, you can install those locally too, but by then you are losing many of the benefits of a cloud environment.
- TechBro8615 5y agoGo try VSCode remote. These are all solved problems. The extensions run headlessly on the server, and the client does little more than render the interface. Switching between machines is seamless with settings sync, workspace recommended extensions, etc. You won’t find many people who started using VSC remote dev and then abandoned it to go back to local. Once you’ve got it working, which is a pretty easy feat, it’s a no brainer, obvious win.
- hamandcheese 5y agoYes, I am aware. I was responding to this bit: > This seems preferable - the editor runs on your local machine with low latency, but you still run tests on the cloud machine.
- TechBro8615 5y agoAh I see – apologies, I read your comment too quickly. Something I miss with remote development is being able to use graphical Git clients like Sublime Merge on my working directory. I don’t want to setup SSHFS just to make that work, and I’m sure performance wouldn’t be great anyway.
- deleted 5y ago[deleted]
- nmfisher 5y agoThis is what I've started doing, and I'm definitely a life-long convert. I still experience a few glitches (extensions randomly stop working, Intellisense sometimes dies, and auto-detecting architecture for launching mobile apps sometimes fails) but I'm sure those will be ironed out.