4 ms·
For what it is worth, I've also found that using VSCode for remote development to a RPi 3 and now RPi 4 to be really nice. I have VSCode installed on a chromeb
by mattlondon 6y ago
For what it is worth, I've also found that using VSCode for remote development to a RPi 3 and now RPi 4 to be really nice.
I have VSCode installed on a chromebook, and VS Code remotes into the RPi and everything just works really nicely for remote development using a local VS Code instance.
Say what you will about there being a MS repo in the raspberry pi OS (which I think is a huge overreaction - it is an OS designed for children & beginners to use, so if you are a power user who is bothered by this then simply try using something else or just disable it - end of story), VS Code has become so powerful and such a pleasure to use that I wonder how we managed to survive as long as we did banging stones together back in sublime text et al.
While I don't even use the same browser on different machines any more (mixture of chrome, firefox and edge across Linux, Win10, and ChromeOS), I only use VS Code on every machine. Its really great.
Good work RPi for making this happen.
- u678u 6y agoIs this for JS development? Or a compiled language. Id like to use remote but not sure how easy it is so this is encouraging.
- mattlondon 6y agoI've used VSCode remote development for JS, TS, C++ (with clang), and Golang. It all just works. VSCode even has a built in debugger that just works - I can use the visual debugger in VSCode running on a chromebook to debug JS or C++ running on the remote machine. It all works over some SSH magic that is abstracted away. Breakpoints, call stacks, local variables, step in/out/over etc - all there on your local machine despite the code running on another machine somewhere else. Even if I am working with docker/docker-compose on the remote, the local VSCode has built-in support for listing running containers, showing images, attaching shells to containers, up/downing compose configs etc etc. Super useful for me since I can never remember the command line for attaching a shell :) I have been really impressed. It is kinda getting to sort of "universal IDE" sort of levels of functionality but it still feels like a lightweight text editor at its heart (extensions help a lot with this I guess - only have what you need). Only negative is load-times are slightly longer than I'd like at perhaps 3 or 4 seconds on my machines.
- zamadatix 6y agoIt's like your local VSCode was running on the remote box from a functionality perspective but the local box from a UI perspective. It's pretty straightforward to get going https://code.visualstudio.com/docs/remote/remote-overview https://code.visualstudio.com/docs/remote/remote-overview
- sto_hristo 6y agoRemote with Java works great via SSH for me. With attached debugger to app servers, code completion, and all that. I have literally 0 problems with remote development. It's unbelievable how good VSCode is.
- madeofpalk 6y agoI'm incredibly impressed with just how good VS Code Remotes are. I use it with WSL, to go Windows -> local Mac and Windows -> remote Linux server and it just works so well.
- Shish2k 6y agoSame - all my work is remote these days, and I’m considering dropping my JetBrains subscription because of it. I love the jetbrains tools so much, as they’re better at basically everything; except for this one feature of remoting where VS code is miles ahead, and it turns out that that's more important than everything else combined...
- mormegil 6y agoI was of the impression Jetbrains are preparing some remote coding feature but now I found only Code with Me and an unresolved feature request at https://youtrack.jetbrains.com/issue/IDEA-226455 https://youtrack.jetbrains.com/issue/IDEA-226455 so I guess I misremembered (but maybe the Code with Me will evolve).
- compscistd 6y agoRemote VS Code via SSH works absolutely fantastically everywhere with the one exception being the Pi Zero which is a shame.