News for hackers. Stuff that matters.
Re:Zed, a collaborative code editor, is now open source by ufo on Wednesday January 24, 2024 @01:30PM (#39120888)
Speaking of Linux, are there any other editors we can use today? I tried to look for one recently but couldn't find anything. (edit: I mean collaborative editors)
Re:Zed, a collaborative code editor, is now open source by starkparker on Wednesday January 24, 2024 @04:03PM (#39122613)
Gobby is mostly dead but still works. Win/Linux; macOS builds have gotten harder now that it's been about 3 years since the last release: https://gobby.github.io/

EDIT: It's apparently on Macports as of quite recently, though the port health for recent macOS releases looks bad.

Re:Zed, a collaborative code editor, is now open source by SCdF on Wednesday January 24, 2024 @02:06PM (#39121362)
Collaborative editors I presume you mean? Because 99% of popular editors have linux builds.

Anyway, the VSCode plugin ecosystem is probably your best bet there: https://code.visualstudio.com/learn/collaboration/live-share

Re:Zed, a collaborative code editor, is now open source by ufo on Wednesday January 24, 2024 @03:08PM (#39122001)
Precisely, I'm looking for collaborative editors. Thanks for the suggestion, I hadn't seen this one.

Unfortunately, it seems that this plugin only shares the editor window and does not keep a local copy of the files. I was wishing for something that would let both sides run & compile the code during the editing session, without having to stop for git push. https://github.com/MicrosoftDocs/live-share/issues/3524

Re:Zed, a collaborative code editor, is now open source by jasonjmcghee on Friday January 26, 2024 @12:20PM (#39145087)
Jetbrains allows both users to execute / debug but it’s all on the host machine.

What you’re talking about sounds like you should do an rsync script that watches file changes, but seems like a good way to constantly be breaking the other persons workflow.

git solves these problems- feels like the right tool. But maybe I’m missing something about your workflow

Re:Zed, a collaborative code editor, is now open source by CodeCompost on Wednesday January 24, 2024 @01:36PM (#39120978)
You're joking, right?
Re:Zed, a collaborative code editor, is now open source by ufo on Wednesday January 24, 2024 @02:47PM (#39121794)
Looking for collaborative editors in particular. Two people editing at once, on different computers. Each person has their own copy of the file, on disk.
Re:Zed, a collaborative code editor, is now open source by stevage on Wednesday January 24, 2024 @03:19PM (#39122136)
I'm curious about your use case?
Re:Zed, a collaborative code editor, is now open source by ufo on Wednesday January 24, 2024 @04:25PM (#39122832)
Authoring Latex documents. I want a non-browser alternative to Overleaf. When the paper is close to done, me and my colleague are on voice call, editing the same file. But we both want to be able to compile it to PDF, to be able to see the figures.
Re:Zed, a collaborative code editor, is now open source by fredoliveira on Wednesday January 24, 2024 @03:52PM (#39122482)
This is a pretty common use case. Remote pair programming, interviews, etc, all rely on this same basic idea.
Re:Zed, a collaborative code editor, is now open source by OccamsMirror on Wednesday January 24, 2024 @10:26PM (#39125901)
Both VSCode and Intellij can perform this function.
Re:Zed, a collaborative code editor, is now open source by iruoy on Wednesday January 24, 2024 @01:43PM (#39121075)
All JetBrains IDEs work on Linux and all electron apps of course. Lapce seems like Zed and is already available on Linux. So is Sublime Text.

There's a whole list here: https://wiki.archlinux.org/title/List_of_applications/Docume...

Re:Zed, a collaborative code editor, is now open source by politelemon on Wednesday January 24, 2024 @01:43PM (#39121074)
nano, pico, vim, VS Code, Brackets, Notepadqq, Gedit, Kate, Leafpad, Geany
Re:Zed, a collaborative code editor, is now open source by cstrahan on Wednesday January 24, 2024 @02:02PM (#39121314)
Helix is another interesting option:

https://helix-editor.com/

Re:Zed, a collaborative code editor, is now open source by level87 on Thursday January 25, 2024 @03:49AM (#39127544)
I love helix, everything just works
Re:Zed, a collaborative code editor, is now open source by ufo on Wednesday January 24, 2024 @03:15PM (#39122087)
I was particularly looking for collaborative editing; two people editing the same file at once and each has a local copy of the file so they can run the code. Perhaps one could use a normal editor for this if there were some underlying command-line tool and/or plugin to do the actual file synchronization. Do you know of any?
Re:Zed, a collaborative code editor, is now open source by ants_everywhere on Wednesday January 24, 2024 @07:48PM (#39124763)
GNU Screen does this https://www.gnu.org/software/screen/manual/html_node/Multius...

See also the list of ways of doing collaborative editing in emacs: https://www.emacswiki.org/emacs/CollaborativeEditing

Re:Zed, a collaborative code editor, is now open source by greyw on Wednesday January 24, 2024 @02:32PM (#39121647)
emacs.
Re:Zed, a collaborative code editor, is now open source by msephton on Wednesday January 24, 2024 @08:38PM (#39125154)
It's Mac but SubEthaEdit is collaborative.