PyCharm indexing goes into infinite loop pycharm 不同的indexing

本文解决了一个PyCharm用户遇到的问题:当PyCharm在一个包含符号链接的目录中进行索引时,陷入了无限循环。文章提供了具体的步骤来排除这个符号链接并阻止PyCharm对其进行索引。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

https://stackoverflow.com/questions/24955896/pycharm-indexing-goes-into-infinite-loop

 

5
1

I opened up a directory with PyCharm, and after it was done indexing, I still didn't get code completion suggestions, so I invalidated the cache. When I reopened PyCharm, I noticed that it was indexing

/usr/local/google_appengine/google_appengine/google_appengine/...

so it turns out there's a symlink or alias (not sure which) to itself. So I removed it, invalidated the cache and restarted PyCharm. When PyCharm started, the same problem was back, so it looks like PyCharm put the symlink back. How do I tell pycnarm to use the file system as its source of information?

asked Jul 25 '14 at 12:30
5e4575fdaacc879dc2199490417d170a?s=32&d=identicon&r=PGuploading.4e448015.gif转存失败重新上传取消
bigblind
7,3851010 gold badges5050 silver badges8989 bronze badges

1 Answer

7
 

Open up

Preferences > Project Settings > Project Structure

Select the symlink and exlcude it from the project. This will prevent Pycharm from including and indexing the folder.

answered Aug 14 '14 at 13:54
k4yPU.jpg?s=32&g=1uploading.4e448015.gif转存失败重新上传取消
cbrendanprice
36022 silver badges88 bronze badges
Got a question that you can’t ask on public Stack Overflow?  Learn more about sharing private information with Stack Overflow for Teams.
 

Your Answer

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值