That is not an ideal fix; if a file has been renamed on disk, this then requires that file to be removed from the project and re-added, and any file-specific settings need to be set again.
A better solution would be to allow the rename. If a file already exists with the destination filename, update the file display in the project so it no longer shows it as non-existent. Otherwise, rename the non-existent file in the project anyway, but continue to show it as non-existent.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently the context menu for a non existent file does not show the rename menu item
That is not an ideal fix; if a file has been renamed on disk, this then requires that file to be removed from the project and re-added, and any file-specific settings need to be set again.
A better solution would be to allow the rename. If a file already exists with the destination filename, update the file display in the project so it no longer shows it as non-existent. Otherwise, rename the non-existent file in the project anyway, but continue to show it as non-existent.