Files
kotlin-fork/idea/idea-analysis/resources
Roman Golyshev f29e665dce Add "ML completion for Kotlin" experimental feature checkbox
- This checkbox should be shown only in IDEA >= 193 and should not
be shown in AS
- ML completion is enabled with `CompletionMLRankingSettings`, which
resides in `com.intellij.stats.completion` plugin that is bundled by
default
  - The `<depends>` section is required to be able to use classes from
  this plugin inside Kotlin plugin
- `CompletionMLRankingSettings` have package-private setter for enabling
ranking completion, so we have to use reflection to enable it (it will
probably change in the future)
2020-03-13 18:09:32 +03:00
..