Weirdness of intelliJ completing within comments

Using intelliJ, sometimes when I type a comment line ending with a period,
and press return, IntelliJ inserts some sort of pattern matching at the end of the
function. Has anyone else seen this? It is pretty annoying for a touch typist.
I usually press CR immediately, without pausing to read all the
popup menus.

Simply pressing CR causes the following to get inserted at line 146
51

What is the advise 1) about this particular popup, and 2) in general to make IntelliJ more friendly to touch typists which still taking advantage of the often useful advise of IntelliJ?

Hmm, I haven’t encountered that. You could file a bug here https://youtrack.jetbrains.com/issues/IDEA or here https://youtrack.jetbrains.com/issues/SCL

1 Like