Pycharm:“扫描文件以建立索引"永远 [英] Pycharm: "scanning files to index" is taking forever
问题描述
我使用的是 PyCharm 社区版 5.0.1直到昨天它都运行良好.但是很长一段时间以来,它一直停留在扫描文件以建立索引".从昨天开始.
I am using PyCharm Community Edition 5.0.1 It was working fine till yesterday. But it has been stuck at 'Scanning files to index' for a very long time now. Since yesterday.
我试过重新安装它,也试过使缓存失效.
I have tried re-installing it, and also tried invalidating cache.
我可以更改程序并将其用作文本编辑器,但无法运行任何文件.
I can make changes to programs and use it as a text editor but unable to run any file.
推荐答案
排除您不想索引的文件夹.您可以通过右键单击要排除的文件夹来执行此操作,然后选择 Mark Directory As >Excluded
和 PyCharm 不会索引这些文件.
Exclude the folders you do not want to index. You can do this by right-clicking the folder you want to exclude, then choose Mark Directory As > Excluded
and PyCharm will not index those files.
这篇关于Pycharm:“扫描文件以建立索引"永远的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!