在 PyCharm 中不断收到 "Project Files Changed" 消息,即使我没有更改项目中的任何文件

Constantly getting "Project Files Changed" messages in PyCharm, even though I haven't changed any of the files in my project

与标题中所说的差不多——我不断地在 PyCharm 中收到 "Project Files Changed" 消息。确切的消息是:

Project components were changed externally and cannot be reloaded:

RunManager

Would you like to reload project?

例如,Alt-Tabbing 离开 PyCharm 几秒钟然后 Alt-Tabbing 回来可能会生成消息。它通常不会发生,除非我切换到另一个应用程序,尽管有时它无论如何都会发生。

有点难过。有人以前看过这个吗?

如有任何意见,我们将不胜感激!

显然 PyCharm 和 OneDrive 不能很好地协同工作。我将我的项目文件夹移出 OneDrive 层次结构,一切都安定下来。

我通过在 设置中关闭“帧激​​活时同步文件”解决了这个问题 -->外观和行为 --> 系统设置 --> 同步。当您的项目使用符号链接或网络文件系统时会出现此问题...