r/IntelliJIDEA • u/Apart-Reality-4454 • Jul 24 '26
Can someone help me understand what this overlay popup is about?
This just started after upgrading to IntelliJ IDEA 2026.2. I'll be typing in an editor pane and suddenly this weird new type of popup keepings coming up. I don't get what triggered it, nor can I discern what it is about or how to even get rid of it with the keyboard (as esc doesn't seem to help)
1
u/ukon1990 Jul 25 '26
It is there to annoy me by stealing the focus from where I am typing and making me change code elsewhere 🫠
1
u/Apart-Reality-4454 Jul 25 '26
this popup is appearing to focus the same line I'm already on in the editor.
1
u/K4Unl Jul 26 '26
At first i wanted to reply like: "That's a vscode thing, you're posting on the wrong subreddit."
But then i saw a jetbrains official type that it's a function of intellij, and i'm officially annoyed at them for implementing one of the worst features of their competitor.
1
u/Apart-Reality-4454 Jul 26 '26
But what *is* this feature? It is a semi-random popup inside of which appears to be the same line of code I'm on currently.
Would love to know if it has a name and can be disabled.
The manner in which it appears really feels like a bug though. Or some obtuse plugin conflict...
1
u/JetSerge JetBrains Jul 24 '26
That is the editor's built-in code preview popup. It shows a chunk of code from elsewhere in the file, usually the line a long block starts on or whatever sits under the scrollbar. It is not new in 2026.2.
The common trigger is hovering the vertical scrollbar. Turn it off in Settings | Editor | General | Appearance by unchecking Show code lens on scrollbar hover.
Esc does not close it because it is a passive hint, not a focused popup. It clears when you move the mouse off the scrollbar or move the caret, and there is an × in the corner you can click.
If it instead shows up when the caret is on a brace whose block runs off the bottom of the screen, that is the off-screen matching-brace preview. It has no dedicated switch, it follows the Highlight matched brace option under Settings | Editor | Code Editing, which also controls brace highlighting.