Open
Description
I have some discussion on JetBrains Slack and it seems since IJ 2024.3 a bug was fixed with runWhenSmart which executes the runnable when scanning and dumb are finished. Before this version the runnable is executed only when dumb is finished.
It would be nic to use runWhenSmart by checking that IJ >= 2024.3 instead of using ProjectIndexingActivityHistoryListener with Java reflection (because this API is internal).