As a Roblox developer, it is currently too hard to avoid deleting scripts by accident.
I’ve done this five or six times in the past couple weeks:
- Try to click the Name field to rename the module
- Click the Parent field instead by accident
- Click in the blank space in the property panel to dismiss the instance picker
- Doing so deletes the script I’m trying to rename.
- I probably have another script open, so pressing Ctrl+Z undoes my code changes and doesn’t bring the deleted script back.
- I have to switch to the Viewport and then use Ctrl+Z to restore the deleted module.
I don’t know why this has only recently become an issue, maybe the behavior of the instance picker changed, or maybe I’ve just started clicking the Name field to rename more often than I press F2. Either way I figured this was worth reporting since it’s a consistent pattern and there’s probably a way to improve the UX.
If Roblox is able to address this issue, it would improve my development experience because I wouldn’t delete scripts by accident.