Improvements to the Script Editor’s Diff Tool

roblox git moment

too be fair we already have a version control in roblox, so this is a nice addition, tho it would be cool if we could directly use github with roblox

5 Likes

this is not an addition, the difference feature has always existed, they just redid it

8 Likes

Oh my bad then, i have never noticed this before though

2 Likes

Git operates at the file level, in which the upcoming feature “export to files” announced at rdc could allow for. But this diff tool is realistically the only thing that the script editor can offer in terms of version control unless they make a huge paradigm shift and realize that the push to the cloud and reinventing everything is naive.

7 Likes

While your at it make it so we can have documentation please

9 Likes

Thank you for this change! Always love seeing work being put into the scripting side of things.

8 Likes

So, in other words: SaaS + NIH = Roblox™

6 Likes

Is it possible to copy the diff as HTML? Can’t check because I don’t have it yet.

2 Likes

Do you have plans to add Bookmarks to the Script editor?

5 Likes

It sounds like a good tool to have especially if you are working in a team, but I’m thoroughly confused on where and how to start using this tool. Maybe a documentation or a short video on how to start would help.

1 Like

This is a massive improvement! Thanks you!!

3 Likes

This is great, I’ve been using view script history so often this day making this a very essential powertool! I do hope the current weird issue with the script history browser is fixed though, mine for some reason scrolls down by itself when I click on a version (Hard to notice at times)

Honestly a smart move would be to allow roblox developers to integrate other services like github directly in to the editor with this functionality it would rival other engines like unreal godot unity scratch and everything else

you would also make visual studio code a very unnatractive approach and keep your developers on platform

5 Likes

Its nice that this is finally fixed/revamped, cause the diffs were basically useless before due to the lack of proper selection. You could just see non-updated code without being able to move it to the script unless you opened the diff in a text editor. Good update :slight_smile:

1 Like

Thank you! We have Script Version History on the list as well!

Likely this will become possible once we create a Script Diff API. We added this request to our requested features list.

2 Likes

I think these changes are great, but unless there’s a new option I’m unaware of, differences between different scripts each opening in separate tabs has been frustrating to work with. Very often I commit scripts in mass as I typically leave them all as drafts till I’m ready to do live testing with them and have tested changes I made on my own first.

The old differences tab made this very convenient as I’d have all of them presented to me in a single screen that I was able to continually scroll through to do a final review of things to make sure I didn’t leave any temporary test code in the scripts or as a catch for any errors I may have not noticed before. This process has become more slower and tedious having the tabs open separately, especially if there’s a handful of script changes that only alter no more than a few lines.

1 Like

Hi @redmiint8,

Thank you for raising this issue. We went with the standard desktop solution (like VSCode, Beyond Compare, Araxis, etc) to declutter the individual diffs and make it easier to view and navigate diff contexts.

However you raise a good point and I’ll bring this to the attention of our designers. We might need to think about how to better manage tabs (tab groups? colors?) or perhaps prefilter the diffs to only open pairs of scripts that are different.

1 Like

Any time I make small changes in the middle of a larger script, my diffs end up with endless empty new & removed lines. This makes reading any diff incredibly difficult, and has been an issue with this tool for years.

Most of the time I have to resort to checking script diffs using a website such as diffchecker.com
Here’s an example of a diff from the same script, showing only the 12 lines I changed.

Here’s a thread I made back in 2021 with some diff checking feature requests:

1 Like

Hey, sorry for the bump, but there’s some really good feedback in here and it went along very well with the feedback/question I have.

Do we know if this will support OpenCloud eventually? A connecting question of mine is, could we include webhooks when commited a new script (and etc)?