最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - IntelliJ IDEA keeps re-importing project when switching windows - Stack Overflow

programmeradmin2浏览0评论

When I switch out of the IntelliJ IDEA window and switch back, I have to wait for project folder to import again. If I am insider a file and working on something, it closes all of it out. On the bottom right it says it's "importing project" again. Here is a quick demo

I looked through the settings to see if there were any ways to turn this off. I also couldn't find much online regarding this issue. I'm expecting the project folder to now close whenever I switch to a different window

When I switch out of the IntelliJ IDEA window and switch back, I have to wait for project folder to import again. If I am insider a file and working on something, it closes all of it out. On the bottom right it says it's "importing project" again. Here is a quick demo https://streamable/kb09b7

I looked through the settings to see if there were any ways to turn this off. I also couldn't find much online regarding this issue. I'm expecting the project folder to now close whenever I switch to a different window

Share Improve this question edited Mar 16 at 14:41 jhaywoo8 asked Mar 15 at 16:03 jhaywoo8jhaywoo8 7676 gold badges13 silver badges24 bronze badges 1
  • Have you tried File > Invalidate Caches and Restart ... > Invalidate and Restart? Some weird issues can occur when IntelliJ's caches are corrupt. Alternatively, try disabling Maven or Gradle automatic import; maybe IntelliJ somehow thinks your build.gradle or pom.xml changed and triggers an import. – Mark Rotteveel Commented Mar 16 at 8:47
Add a comment  | 

1 Answer 1

Reset to default 1

This might be best if you asked Intellij people on their community forums.

https://intellij-support.jetbrains/hc/en-us#

I couldn't see it actually re-importing your project from the stream. Maybe it was doing it, but it happened so fast I could see it. Typically a re-import would show a progress bar on the bottom right of your screen. And re-import doesn't remove the opened files so I think this is something else.

发布评论

评论列表(0)

  1. 暂无评论