phpstorm误删文件恢复

用phpstorm误删了文件,

 然后去电脑回收站看看,发现回收站并没有

 然后在phpstrom 点击项目文件夹右键Local History -> show history,可以查看历史的记录 然后找到你想要恢复的那一版

在右键点击如图所示 成功恢复