删除了c盘的垃圾文件之后,pycharm就一直scanning files to index
解决方法:
点击file,然后选择invalidate caches / restart ...,再弹出的对话框中点击Invalidate and restart,然后它可以短时间完成扫描,不再挂起
参考https://stackoverflow.com/questions/29030682/pycharm-4-0-5-hangs-on-scanning-files-to-index-background-task