刪除了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