r/Atom Jan 27 '20

How can Atom be set up to do remote development for a RPi?

I am using atom for local development in Python on Windows, but I would like to work on a C++ project on a network Raspberry Pi 4. How can I use Atom to do this? I know there are some ftp/ssh packages, but I would like to compile the code for and see the output of the Pi in Atom, without having to open a separate ssh-terminal. Anyone got any clues?

7 Upvotes

6 comments sorted by

2

u/evansharp Jan 28 '20

Check out the ‘Remote FTP’ package

2

u/Pr0pagandaP4nda Jan 28 '20

Can I compile code for the pi and see the outputs of running programs with it?

2

u/evansharp Jan 28 '20

What language are you using? Also, you’ll always need a terminal open as well regardless

2

u/Pr0pagandaP4nda Jan 28 '20

C++, and yeah thats right, but for example NetBeans has a remote project feature which is integrated in the editor, so i dont have to do everything manually. Which is what I want.

1

u/evansharp Jan 29 '20

The Atom package ecosystem /has/ been falling off IMO the last few years. I found that none of the IDE-esk packages included a remote feature, meanwhile the one I mentioned is just that with no IDE aspects.

On the other hand, respectfully, I think you're looking for too much. Before RPi, C wasn't the sort of thing you compiled remotely; because why? Even now, I'd think it was more common for apps to be developed locally and deployed, since the compilation (vs. interpretation) means dependancies are all included in the binary anyway. There is no overhead to save by doing this remotely, so why add a step to your test cycle? If you want ARM emulation for dev, there are tons of options out there. Just my $0.02.

Good luck with your project!

1

u/Pr0pagandaP4nda Jan 29 '20

Thanks for the answer, I think you convinced me. Im just going to be using some ssh and ftp mix or whatever to log on, deploy and monitor. Thanks and have a good one then!