We have shipped an improvement to the scripting flow when working inside Team Create.
Now, saving or publishing your place will automatically commit (a.k.a. Apply Edits) your script changes if Collaborative Editing mode is off. We have heard strong feedback from the community that the save/publish action needs to include script changes, and auto-committing at save/publish is the expected behavior.
Collaborative Editing is on: You can edit and test scripts within draft mode without affecting other collaborators. Once youâre done, you commit the draft so that your place is updated to the latest script changes.
Collaborative Editing is off: When you edit a script, you lock the script so that you are the sole editor. When you are done, you click âApply Editsâ to commit the changes to your place.
Previously, when Collaborative Editing was off, you had to manually click âApply Editsâ to apply your script changes. Studio would automatically commit your script changes only if you closed Studio.
Now, the new update additionally performs the auto-commit when you save or publish your place. When saving or publishing, you will notice that the asterisk (*) that marks scripts with uncommitted changes will disappear, signaling that the script is now visible to all of your collaborators.
We want to ensure this change does not disrupt existing usersâ workflows. If you do not wish to enable auto-committing script changes at save/publish, you can easily turn this behavior off by going to File > Studio settings > Script editor section, and turning off the âAutomatically commit locked scripts when you save or publish to Robloxâ setting.
We are also currently reimagining the collaborative scripting experience in Team Create so if you have any feedback or suggestions, please comment below.
I donât recall, is there a way to read the currently edited version of a script instead of the committed version yet? This was a big point of annoyance for plugin developers around team create for a long time and would be a very welcome improvement to collaborative scripting.
The ScriptEditorService APIs all operate on whatâs actually in the open editor (WYSIWYG) regardless of what the underlying collaboration mechanics are. You can use them to check whether thereâs an open editor for the script in question and do your edits there if there is (this also lets you gracefully handle conflicts with the user making edits at the same time)
Could we get an option to just not have the commits thing whatsoever? Even with auto-publish it still slows me down significantly waiting for anything to update. I stopped using Team Create entirely over this (went back to local files on disk, sharing back and forth with the others as necessary), so thereâs thatâŚ
Glad that you mentioned Live Editing! We are working on it.
Whatâs your top of mind expectation for live editing? It would be lovely if you can share some use cases.
Not sure if this would be classified as âLive Editingâ or even possible on Roblox but I think a cool thing that could be added is where two or more people can edit a script at once. A bit like how liveshare works on visual studio code.
Features that I think would be cool in live editing is:
When you click or hover or something over the script it will show you who is editing it (without going into the script)
Create some type of indicator where someone is currently editing
I am glad this is being mentioned as I asked about this a number of years ago during RDC. Being able to edit a script with multiple people at once would be incredibly useful when teaching a friend how to program or when a colleague needs help with fixing a bug. I always imagined that script changes would only (automatically) commit when the last person who has the script open, closes the script. I also highly doubt multiple developers would happen to accidentally work on the exact same line(s) of code of a script at the same time. And if it does happen they would of course be able to see the line being changed in real time and then discuss how to collaborate on that piece of code.
I have a suggestion, highlight who wrote what in the script editor when collaboration mode is enabled, and it will display the writerâs username when you hover the mouse cursor over that piece of code. The highlights should use team createâs colors.
Can you allow us to disable team create by default? Having it in the background is nothing but a nuisance in games Iâm working on by myself. Saving takes longer and script commits are pointless but intrusive. Itâs ridiculous that I have to go through the process of disabling it every time I create a new place.