Collaborative Editing has arrived!

All right stop :stop_sign:

Collaborate and listen :loud_sound:

Roblox is back with our brand new invention :new:

A new feature done just rightly :raised_hand::pensive::ok_hand:

Makes it easier to collaborate daily and nightly :sun_with_face::new_moon_with_face:

Hey developers,

The holidays are rapidly approaching and weā€™re dropping some crazy gifts for our developers. Weā€™re very excited to announce a new feature weā€™ve been working on for the better part of this year. Itā€™s called Collaborative Editing and itā€™s going to revolutionize how you work with your teammates. It takes Team Create and adds on a new way for teams of developers to script together without interrupting each other, inadvertently breaking the game, or losing precious progress. Sounds epic, right? Well, get ready to have your mind blown.

Hereā€™s how it all works:

SCRIPTS UNLOCKED :unlock:

In the past, scripts would be locked for editing in Team Create. With Collaborative Editing, you can edit any script at any time - even if it is being edited by someone else on your team.

CHANGE IT, TEST IT, PUSH IT, PROFIT :money_with_wings:

Editing scripts saves them as drafts immediately and these drafts are only visible to you. Edit your script, test it with Play Solo to see if your changes work as intended (Play Solo uses the edited source in your drafts, Team Test uses the server version of the script), and then commit it to the server to update it for everyone in the Team Create session.

Guess what else that means: Scripts can be edited across multiple Studio sessions - start editing a script (draft created and continuously auto-saved), then shut down Studio for some downtime. Go back to Studio on the same computer and observe your drafts waiting for you.

OMNISCIENCE :eye:

In real-time, you will know who is editing a script and when they commit their changes to the server. Youā€™ll also immediately know if someone deletes a script on the server that you happen to be editing - donā€™t worry your draft of that script is always retained so you can restore the script back into the Workspace.

COMPARE AND CONTRAST :blue_book::closed_book:

At any time, you can compare the differences between your script and the latest version on the server to easily see what the differences are!

MERGE, EVERYBODY MERGE :red_car:

This feature also comes with conflict resolution and merge tools:

  • Real-time awareness of new commits and deleted scripts
  • Identification of all conflicts between your drafts and the serverā€™s version
  • Conflict resolution by keeping your draft changes or the serverā€™s version, or manual resolution by editing the conflicting code block
  • The merged scripts are saved to your drafts, where you can test them Play Solo and commit the changes whenever you are ready

THE TRASH PILE :x:

Youā€™re easily able to discard your drafts without impacting anyone elseā€™s work or pushing it to the server! Now you can vent your frustration with their code in blocks of comments and then toss away the draft as if it never happened. Like when I write an aside in a draft about @nsgriff trying to take over my announcement, but mine turns out waaaaay better than his. NOTE: DO NOT PUBLISH!!!

THE FUTURE IS BRIGHT (xD)

This is only the beginning. Going forward, weā€™re bringing you script history, batch commit, and rollback features. Stay tuned for more info about those!

Was that a lot to take in? Maybe a little too good to be true? Well, hereā€™s a video demonstration.

Excited to jump in and turn this on immediately? Good! Hereā€™s how:

  1. Make sure your game has been published
  2. Make sure your game has Team Create turned on
  3. Navigate to Game Settings
  4. Go to the Options tab
  5. Turn ā€œEnable Collaborative Editingā€ on!
  6. Make sure you close out the Team Create place (and that everyone else has left)
  7. After that, reopen the place and draft, merge, and resolve conflict to your heartā€™s content! :heart: The UI will appear as soon as youā€™ve made your first edit to any script

Thatā€™s all there is to it!

Huge thanks to all of the people who worked tirelessly to bring this feature to the platform. This wouldnā€™t have been possible without the efforts of @Subcritical_alt, @IcyTides, @vespa_rbx, @CycloneUprising, @chilliflakes19, @qmasterman, @tamtamchu, and @twberg. Oh, and @nsgriff for trying his hand at writing this announcement. Thatā€™s worth a gold star! :star:

Let us know what you think of Collaborative Editing in this thread, weā€™re excited to hear your feedback!

Thanks,
Developer Relations

356 Likes

This topic was automatically opened after 16 minutes.

Iā€™m just going to say this right now, what the heck!?!??

Itā€™s Christmas before Christmas!??!?!

Iā€™m not usually posting stuff like this on public announcement posts, but I must say that Roblox has taken a huge step forward to improve the developersā€™ experience of the platform.

Roblox helping the developers with updates like this one is something I really do love. Itā€™s amazing how you continue with stuff like this.

It seems like 2019 is going to be a revolutionary year for Roblox, and I truly hope it will be closely followed up by 2020, (which is approaching). Please do not stop releasing great features, we need them!

67 Likes

Truly an amazing update, I can finally edit my scripts with friends while plastering ASCII art coefficients as comments.

Thank you very much for all involved, Iā€™m gonna take full advantage of this and Iā€™m sure many others will too!

14 Likes

Now while I support this idea I also fear it, with this new feature, it poses a threat. Letā€™s use this scenario, so youā€™re working on a game with another person and you get into a disagreement. Can this person now go and delete the scripts that you are working on?

12 Likes

Thank you for this information, Developer Relations.

I can hear a much quieter future with the absence of ā€œGet out of my script, boyeā€ being shouted. Now my team will have a cool, calm, and collected ā€œMerge my script, boyeā€

I am very excited for this future.

26 Likes

thanks developer relations! i canā€™t wait for more gifts!

I still prefer VS Code and bitbucket for collaborative projects, studioā€™s lacking- especially in the collaboration (programming) part. Thankfully, this is only the beginning.

Nether the less, this is still a brilliant update and I am very thankful for it!

The only dislike is different branches, but thatā€™d be too difficult to support.

4 Likes

ā€œgitā€ to work as the devs sayā€¦

Is this only available for team create? I would love to use this without team create on, not sure if thatā€™s possible, if not, is there plans?

16 Likes

Iā€™ve had a lot of issues with team create in the past, specifically with saving and not being able to have multiple people edit scripts. But now, these issues are fixed! Really motivates me to get one of my old team create games back together. The demo looks really good, and this was a necessary change. Super excited to try this out with all the other new updates lately!

1 Like

Very welcomed QOL change, confused as to why it took so long to ship thoughā€¦

2 Likes

Honestly Iā€™m a little afraid thisā€™ll make it worse if it itā€™s rushed. Praying itā€™s gonna be polished and scripts wonā€™t magically disappear like Iā€™ve experienced with some other collaborative coding tools.

3 Likes

This is amazing! Thank you guys so much. This is one of my favorite new features this year! Canā€™t wait to see what 2020 brings!

1 Like

This seems interesting. Iā€™m curious to see how this will benefit us in the long run. Iā€™ll give it a try myself.

1 Like

Definitely a great update Iā€™ve seen! Similar to .git and thatā€™s something I like. Collaborative work is dream work for me. Drafts, commiting, ect. Very decent update! Every update is getting better and better! Thank you guys!

1 Like

I love this! I was honestly not expecting diffs, merging, etc I was just expecting something like Google docs. In fact I think I might prefer this in some cases. Is live code editing planned? It would honestly be a dream for me to get something like that because Iā€™ve wanted to be able to quickly show people code. It would make explaining things a lot faster when I can show them in real time without screensharing and have them run the code.

3 Likes

That is a good point and I had thought about that right when I read the post. But, Iā€™m hoping that they would have fixed saving if they were going to add features like drafts into it. If they didnā€™t fix the saving then Iā€™m not sure how they could have built on top of it. But I guess we wonā€™t really know until we try it out for a bit.

1 Like

Well yes but you have drafts to work with as well. Before this was also just possible by deleting the whole script instance which would cause it to close in your studio.

1 Like

Ahhhhā€¦ what a joyous occasion this is! Next time someone needs some help with a script or someone wants to see what I have done I donā€™t have to close out of the script! Thank you so much!

2 Likes

100%, but that goes for anything you give someone access to.

4 Likes