Error

PHPStorm java.IOException cannot rename

Solution

Close your IDE, and delete the “.ide” folder under your project and finally restart IDE. Using this way, you will not lose your file changing history.