code completion bug?

已完成

When typing a doxygen style comment, CLion keeps performing code completion at the end:

/** Comment */int
^
pressing enter here adds "int"

"int" is what appears in the code completion window, and I am typing extremely fast, so I don't even see the code completion dialog in time to be able to hit ESC to dismiss it. It's like when I type the final slash of the comment, it somehow triggers the code completion popup.

I can't imagine a world where anybody would want this workflow. Is this a bug?

I would like to disable code completion for ENTER and only use code completion for TAB. I want to see suggestions as I type, though, but only accept them explicitly with TAB. I have my settings at default for Settings -> Editor -> General -> Code Completion.

For now, I have to keep on deleting extra stuff that gets added. (Note I have the "Insert selected suggestion by pressing space, dot, or other context-dependent keys" CLEARED.) I smash the ESC button probably 500 times a day because I know I need to press ENTER, but if that suggestion box is up, I need to dismiss it using ESC.

Currently on CLion 2020.1, but this behavior has existed as long as I can remember. Help documentation says to "Accept a suggestion" that you can press ENTER or TAB (among others). Any way to only choose TAB?

https://www.jetbrains.com/help/clion/auto-completing-code.html#accept

0

Hello!

Please create an issue in the IntelliJ platform's tracker (https://youtrack.jetbrains.com/issues/IDEA), my colleagues will assist you.

0

请先登录再写评论。