That's because it only exists in the online editor, if I recall correctly. We haven't found an autosave option.I haven't used the Windows/Mac version of the offline editor in a while (that is, 2.0, back in 2018), so I haven't experienced this. Still, because of the way the offline editor is built, it is essentially the online editor but running locally, and therefore doesn't really have direct access to your file system. It can ask you to save things, and ask you to select a file to upload, but it can't actually do that without asking you, due to some restrictions placed on browsers to prevent malicious websites from downloading executable files onto your machine without some kind of warning first. It seems always to come up with what is effectively a “save as” dialog if you try to close without saving.Also as stated above, this is the Linux version - does that behave differently to the Windows one?There isn't a Linux version of the 3.0 offline editor? At least not an official version, for anything other than Raspberry Pi OS (formerly Raspbian).
and doing a quick search on apt for scratch3 yields no results, even though this is the exact name of the RPi package
Just to clarify/recap:
- Yes, we have the Scratch 3 offline desktop editor for Linux
- Yes, it can save files locally
- But it asks for the file name every time, and asks to overwrite it every time when you select the “current” file name
Ignoring autosave, what would be nice is a menu option “File | Save” (as current filename, overwriting silently) and a menu option “File | Save As” (as a new filename, asking before overwriting). Just like pretty well any other piece of software that does file editing!