Improvements to the Script Editor’s Diff Tool

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)?