pycharm一直scanning files to index

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

原文地址:https://www.cnblogs.com/z-x-y/p/9809652.html