Indexing on focus
Answered
After upgrading to IDEA15CE on MacOS, I find that if I switch to another app then switch back to IDEA, it's indexing and the UI is blocked and I have to wait like a minute for it to finish. Is there any way to set indexing so it runs in the background and doesn't block the UI, or to prevent it ?
Please sign in to leave a comment.
Please attach the thread dumps when it happens again (both automatic and manual via jstack), see https://intellij-support.jetbrains.com/entries/23348667 . Also provide idea.log (https://intellij-support.jetbrains.com/entries/23352446).
hi, thread dumps
Seems to be a plug-in issue. Try disabling cursiveclojure plugin. Report the issue to the plug-in vendor.
ok thankyou
See https://cursiveclojure.com/archive/1634.html#1635 for the most likely solution to your problem.
I dont have this plugin and its doing it
Apomarinov
Does it help if you disable all non-bundled plugins and restart the IDE? Settings/Preferences | Plugins | ⚙️ | Disable all downloaded plugins
If it doesn't, please attach additional diagnostics data per the first comment here. You can upload it privately to https://uploads.jetbrains.com, and provide the upload id.
@... Yes it still happens. But then I think I found out that its happening when Im running a debug or run npm configuration. If I just run npm run dev in the terminal, its not happening.
Apomarinov Please submit a new YouTrack ticket and attach additional diagnostics data there.
See this article if you are not familiar with YouTrack.
This was solved by stopping indexing on build directories. In explorer, right click on your build output folder, go to Tools and click Stop Index. Do the same for all auto generated code folders.