Code completion dialog auto-closing

Answered

Ever since I started using IntelliJ there's been one thing I can't seem to get working: code completion. Every time I press ctrl+space (my configured key for it), the dialog opens... and most of the time closes immediately before I can do anything with it. Sometimes if I press ctrl+space again it will stay open the second time, but sometimes I have to try 3-4 times before the dialog stays open. Any idea what's going on here?

1
5 comments

What OS and window manager do you use? Any tweaks to the window manager like focus follows mouse?

0
Avatar
Permanently deleted user

I'm on Mac OSX Sierra. As far as I know I haven't changed any settings related to mouse focus. I don't even know if you can do that on a Mac.

 

I've noticed that this happens much more predictably after moving the cursor to a new position. It also happens if I am typing a line and press ctrl+space without a pause. If the cursor has dwelled on the same spot for a while I can't trigger the problem. This leads me to think it's something to do with some sort of indexing that goes on, or some sort of context switching based on the current location of the cursor.

0

Does it happen with 2017.3.1 version from http://www.jetbrains.com/idea/download/index.html?

Do you use bundled Runtime? https://intellij-support.jetbrains.com/hc/articles/206544879

What are your code completion settings? Does disabling automatic code completion help?

0
Avatar
Permanently deleted user

I'm currently running 2017.3, but I've been having this problem since 2017.1 when I started using IntelliJ. I'm using the bundled JVM. Disabling the option "Auto-display code completion" does not change the behavior. I also tried disabling every setting on the "Code Completion" screen of preferences, none of that has impacted the behavior.

0

Please report a bug at https://youtrack.jetbrains.com/issues/IDEA with idea.log attached (https://intellij-support.jetbrains.com/hc/articles/207241085) so that we can investigate further. Thank you.

0

Please sign in to leave a comment.