Revision history [back]
Ah! I discovered that if I refactor an import that imports the filename I want to rename, then one of the suggestions in the refactoring toolbox shows the file as ": Whole file."
I was expecting to be able to refactor a filename by rightclicking the file in the project browser, but all I was finding was just "Rename."