'Replace All' in scripts will open every affected script causing performance issues

Using ‘Find All / Replace All’ to replace strings in scripts and then pressing ‘Replace All’ will then cause Studio to lag as it will then open every single affected script.

image

All opened scripts:

This is due to collaborative script editing (but I am a solo developer without team create on so I don’t know why this is affecting me).

Expected behavior

When this method affects many scripts, it causes studio to freeze, especially with upwards of 50+ results. I think it should apply the changes without opening each script.

2 Likes

Sadly you can’t improve performance of replace all for now, but roblox said on the new roadmap page that in mid 2023 they will improve performance for large code bases and for operations like this. A temporary workaround to this is to replace results one by one.
Roadmap

1 Like

Replacing results one-by-one is a no, it would take a ton of time. Find & Replace does still work, it just causes each script to open (it didn’t use to do this) which causes unnecessary lag.

Thanks for the report. We filed a ticket to our internal database.

3 Likes

We are working on updating this functionality, and we will address this bug as part of that work. In the meantime, are you still running into this issue? This should not be happening if you are in a non-TC place.

Hi we have feature changes coming to revise the current find/replace functionality, and this will be address with those changes. Thanks again!

1 Like