In the editor, if you change the name of a file to the same name of another file and save, it deletes the old one in place of the new one without warning.
Could it perhaps give you a warning when you do this?
Could it perhaps give you a warning when you do this?