Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I recall the original cloude9 supporting multiuser edit #423

Open
Kreijstal opened this issue Dec 23, 2024 · 6 comments
Open

I recall the original cloude9 supporting multiuser edit #423

Kreijstal opened this issue Dec 23, 2024 · 6 comments

Comments

@Kreijstal
Copy link

Has this been removed out? I just joined with 2 browsers, firefox and edge. I do not see they're synchronized.

@exsilium
Copy link
Collaborator

Nothing has been removed, not deliberately at least :). But I think the synchronous editing function you are referring to was something that got implemented in Cloud9 version 3.x - a version, which was not released under a permissive open source license. Pylon IDE uses the 2.x branch of Cloud9 as the basis.

Currently, if you save in one version window, you should get a notification on the other browser stating that the contents on the server has changed, allowing you to reload the changes.

As Ace editor has matured and the version has been upgraded, it wouldn't be much work to actually display multiple cursors on the editing canvas and allow online synchronisation as the buffer gets an update. Having said that, I don't believe I would be able to get around implementing that any time soon, but all pull requests are welcome :)

Happy Holidays and Cheers! 🍻 🎄

@darkuranium
Copy link

I would honestly love this. I've evaluated this editor for exactly that use-case, but alas, with single-user, it's not very useful for me.

Shouldn't be too hard to add it via yjs in theory, but I'm not familiar with Ace, nor this editor's internals.

@Kreijstal
Copy link
Author

I would honestly love this. I've evaluated this editor for exactly that use-case, but alas, with single-user, it's not very useful for me.

Shouldn't be too hard to add it via yjs in theory, but I'm not familiar with Ace, nor this editor's internals.

yjs?

@darkuranium
Copy link

@Kreijstal
Copy link
Author

https://github.com/yjs/yjs

Wow crazy

@exsilium
Copy link
Collaborator

exsilium commented Jan 10, 2025

Exactly, Yjs sounds like a perfect fit for this - it is a powerful and widely used framework. At some point example Ace bindings were published, I didn't get time to dig further into it but shouldn't be much work to get it running if motivation is there. It's been a while but the binding repo I saw was this: https://github.com/ffd8/y-ace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants