IntelliJ IDEA 不断重新索引

huangapple go评论47阅读模式
英文:

IntelliJ IDEA constantly reindexing

问题

I am working on a very large project in IntelliJ IDEA (currently version Ultimate 2020.1.4) - with over 100,000 java files, close to 50,000 resource files, dozens of modules, several gigabytes of external libraries - you get the idea.

我正在使用IntelliJ IDEA(当前版本为Ultimate 2020.1.4)进行一个非常大的项目 - 包括超过100,000个Java文件,近50,000个资源文件,数十个模块,数千兆字节的外部库 - 你明白我的意思。

When I first opened the project, it took a good 30 minutes or so for IntelliJ to index the project (which I did expect). However now, as I work with the project, almost constantly IDEA shows message "Search for files to reindex" and "Reindexing" - the reindexing is running almost all the time. This makes development and especially debugging a very painful experience indeed.

当我首次打开项目时,IntelliJ花了大约30分钟来索引项目(这是我预期的)。但现在,当我使用项目时,几乎一直会出现"搜索文件以重新索引"和"重新索引"的消息 - 重新索引几乎一直在运行。这使得开发,尤其是调试,成为一种非常痛苦的体验。

I tried uninstalling and reinstalling IntelliJ; deleting the entire source tree and re-cloning the git repo - the behaviour is still there.

我尝试卸载并重新安装IntelliJ;删除整个源代码树并重新克隆git存储库 - 但行为仍然存在。

Any suggestions on how I can get it to stop constantly searching for files to reindex?

有没有建议,让它停止不断搜索文件以重新索引?

英文:

I am working on a very large project in IntelliJ IDEA (currently version Ultimate 2020.1.4) - with over 100,000 java files, close to 50,000 resource files, dozens of modules, several gigabytes of external libraries - you get the idea.

When I first opened the project, it took a good 30 minutes or so for IntelliJ to index the project (which I did expect). However now, as I work with the project, almost constantly IDEA shows message "Search for files to reindex" and "Reindexing" - the reindexing is running almost all the time. This makes development and especially debugging a very painful experience indeed.

I tried uninstalling and reinstalling IntelliJ; deleting the entire source tree and re-cloning the git repo - the behaviour is still there.

Any suggestions on how I can get it to stop constantly search for files to reindex?

答案1

得分: 2

这是一个错误。请尝试2020.2版本

如果问题仍然存在,请在YouTrack中报告问题,并附上日志文件(帮助 | 收集日志和诊断数据)。

在帮助 | 诊断工具 | 调试日志设置中添加以下内容:

#com.intellij.util.indexing.FileBasedIndexImpl:trace
英文:

It's a bug. Please try 2020.2 release.

If the issue persists, report it in YouTrack with the logs attached (Help | Collect Logs and Diagnostic Data).

Add the following in Help | Diagnostic Tools | Debug Log Settings:

#com.intellij.util.indexing.FileBasedIndexImpl:trace

huangapple
  • 本文由 发表于 2020年7月29日 01:05:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/63139276.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定