run ML ContextFeaturesContributor during indexing
authorPeter Gromov <peter@jetbrains.com>
Mon, 10 Aug 2020 16:55:39 +0000 (18:55 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Mon, 10 Aug 2020 17:32:25 +0000 (17:32 +0000)
commitbc08d38e6a79aea0413e22de492a92350d887122
tree06c17cd19eafefb41b3391675f1613f6571cddb4
parent63cb4f01cf1bee721c433044e836c89591745d7b
run ML ContextFeaturesContributor during indexing

to avoid NPEs from Statics2ContextFeatureProvider which is already run in dumb mode and expects CACHE to be non-empty

GitOrigin-RevId: 36b0c1bddd6116ab29ad468ab276a09e0cc52fb6
plugins/stats-collector/src/com/intellij/stats/completion/ContextFeaturesContributor.kt