views:

936

answers:

15

Do you know of an editor that allows two people to edit the same code simultaneously sitting at two different computers connected remotely?

This can be used for code review e.t.c

The platform could be Mac, Windows or Linux.

A: 

What operatingsystem? Coda for Mac OS X have this functionality, and it works great performance wise - the only downside is that only the owner of the file can save it.

Björn
+6  A: 

There's a list of such editors on the Code Complete site: http://c2.com/cgi/wiki$?VirtualPairProgramming. The only one I've had experience with is SubEthaEdit on the Macintosh. Worked pretty well, but I didn't really use it for pair programming. I tried it at a conference for collaboratively taking notes with a colleague. I saw UNA demoed at a another conferenced. It looked pretty cool, but the performance was really spotted -- probably due to the number of laptops sharing wireless in the room. I doubt it would have that problem in a normal environment.

tvanfosson
SubEthaEdit works great for collaborative work. I used it once for remotely developing and debugging some code and it worked great.
akr
+9  A: 

You could use a VNC client to allow both people to control the keyboard and mouse on one machine.

Chris Pietschmann
I'd hate to be the person on the remote machine if I had to do this for any length of time.
tvanfosson
I took the question more of a can two people look at different sections of the same file at the same time. IE person A is looking at line 1000, and his code is also being reviewed by person B who is looking at line 100. If your using VNC you mide as well pull up a chair...
dilbert789
dilbert789, he is asking about "remote pair programming", so it is definitely NOT possible to "pull up a chair". Also, I'm not sure what use it is to be looking at separate parts of the code when doing pair programming. Isn't it the point of Pair Programming to both be working on the same thing at the same time cooperatively?
Chris Pietschmann
+11  A: 

A useful concurrent text editor is Gobby.

There's actually a page on The Wiki about this: Virtual Pair Programming with a list of relevant tools.

ddaa
Thats a nice list of all the tools for the purpose. I think Saros, Gobby and UNA are good options
Hasan Khan
+4  A: 

During a time, I use emacs daemon with remote X, all people connected to an emacs daemon.

Please also see this page on emacs wiki about collaborative editing.

Kartoch
+3  A: 

There is Eclipse Cola, but I think it works only for the JDT (Java) Editor. In any case the demo they have is really cool:

http://live.eclipse.org/node/543

zedoo
A: 

Ulipad have peer programming features, and therefor using comments and an instant messaging, you can make code review quite easily.

Ulipad is a nice generic code editor, a really a killer python code editor.

e-satis
+3  A: 

If you're working in a *nix environment you could always use skype for voice and SSH + GNU Screen with vim or emacs.

Screen has a multi-user mode, allowing several different users to connect to the same session. If the participants all use different editors, just set up a terminal with vim in (1), emacs in (2), etc. This has the added benefit of it being fairly unambiguous who's supposed to be in control of the session.

This is a fairly good intro to screen http://www.bangmoney.org/presentations/screen.html - if you don't use any other feature or customization, do make sure to set a status line (sessions can become very confusing if you don't).

Michiel Kalkman
A: 

http://www.collabedit.com

A real-time collaborative editor that allows multiple people to work on the same code. Extremely simple site to use

sam
A: 

For another shared terminal implementation, there's kibitz distributed along with Expect

Novelocrat
A: 

my no.1 is logmein (also i can connect via ipod touch / iphone) + skype or gtalk, firewall doesn't matter for logmein. You can connect different machine via logmein web site. Also it is secure. Another explanation is here.

javaloper
A: 

There is a powerful Google owned online and web-based real-time collaborative text (not code) editing site called Etherpad:

http://etherpad.com/

Google bought Etherpad on December 7th 2009 (2 days from writing this post), and mentioned plans to make it open-source.

Wadih M.
+1  A: 

I've heard good things about SubEthaEdit on OS X. And GNU screen is a good choice if you're a vim-head.

Yoni Samlan
A: 

There's a really cool online editor from mozilla labs called bespin. It supports collaborative development out of the box. It's still in development so it might not suit your needs right now but it sure is gearing up to become something really cool.

svenningsson
A: 

If you are using Visual Studio have a look at http://www.instantreview.de

A P2P based colloborative coding extension for Visual Studio.

Sven