Files
openide/java/java-tests/testSrc/com/intellij/util
Andrei.Kuznetsov 82bf67b89e IJPL-229: trace complete/incomplete scannings instead of project scanning request counter
Global counter does not work, because there are incremental scannings in IDEA. Incremental scanning cannot use incremented counter, because in this case incremental scanning of 5 files will invalidate thousands of other files (e.g. JDK). On the other hand, not incrementing counter is not a good idea either, because if scanning was interrupted (IDE shutdown), there is no way to process unscanned files after restart.

This commit removes per-project counter. ProjectIndexingDependenciesService now tracks each individual scanning and requests "heavy" scanning on restart if either of previous scannings were not completed as successful.

Note that we don't increment storage version. We use `Int` to store incomplete scanning mark. Old version number (if present) works just fine.

GitOrigin-RevId: e5ac0930d3392605024bfe97508b89f9bbf2582e
2023-09-29 22:06:18 +00:00
..