Unreliable code completion in Kotlin
I'm having really annoying issue with code completion popups in Kotlin code. Whenever I start typing keyword/function/variable name, most of the time one of two things happen:
- popup with suggestions does not show up at all
- popup with suggestions shows up and then disappears very quickly
Whichever happens, trying to bring the popup again (Ctrl+Space) hardly ever helps, as most of the time the popup is being "auto-closed" again. See attached video demonstrating the issue (there's also one for code completion working fine in Java code). Note "Updating Indices"/"Indexing" showing up on the status bar for a split second... perhaps that's what "interrupts/discards" the popup?
Has anyone seen this before? Is it a known issue?
Upload id: 2020_11_05_RM3QchcBNM6tzdZf (files: code-completion-java.mov, code-completion-kotlin.mov)
IntelliJ IDEA 2020.2.3 (Ultimate Edition)
Build #IU-202.7660.26, built on October 6, 2020
Runtime version: 11.0.8+10-b944.34 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: ParNew, ConcurrentMarkSweep
Memory: 3987M
Cores: 16
Registry: ide.allow.merge.buttons=false
Non-Bundled Plugins: Karma, org.jetbrains.kotlin, com.intellij.plugins.html.instantEditing, Lombook Plugin, de.platon42.cajon, com.viartemev.requestmapper, mobi.hsz.idea.gitignore, com.alayouni.ansiHighlight, String Manipulation, detekt
请先登录再写评论。
Try to disable all custom plugins except Jotlin as the first troubleshooting step.
If this does not help, share the complete logs folder compressed after reproducing a problem.
Disabled all downloaded plugins (except Kotlin one) - unfortunately no improvement.
Upload id: 2020_11_05_MzcMkPTFPYmVj3gs (file: idea-logs-20201105-140219.zip)
Should have been fixed in IntelliJ IDEA 2020.3 EAP: https://www.jetbrains.com/idea/nextversion/
See this bug for details: https://youtrack.jetbrains.com/issue/KT-40813
Post a comment inside the bug if the issue is still here for you in EAP build.
Tested with EAP (Build #IU-203.5419.21, built on October 29, 2020) and it seem to be working fine.
Thank you.