Without “excluding” folders, how can I stop Indexing intellij idea on start? It’s very very annoying that it starts indexing on startup without allowing you to, for example, debug a test case making you wait until indexing has finished.
解决方案:
You can stop synchronizing/indexing each time you switch to the IDEA and it’s quite useful when dealing with big projects and outside build process which triggers indexing.
Just disable checkbox:Appearance & Behavior -> System Settings -> Synchronize files on frame or editor tab activation.
Make sure you run indexing manually to update hints when needed through Synchronize menu (Cmd-Alt-Y on Mac).