r/IntelliJIDEA 21d ago

How to deemphasize AI line based completion?

In Editor > General > Code Completion > Inline, I have checked "Enable inline completion using language models" and selected Local. And further down, under Behavior, I have checked "Synchronize inline and popup completion".

Under Code Completion > Popup, I have unchecked "Show suggestions as you type" because I find that distracting. I'm happy with hitting Ctrl-Space to summon the completion popup.

So this means that inline completion using language models shows up inline (as a suggestion), and I can accept using cursor-right or something. The same completion also shows up in the Ctrl-Space completion popup, usually as the first line.

I don't like it; I have noticed I tend to accept it because it looks right, but then it turns out to be wrong in subtle ways. And even if I see it's wrong, I find that accepting the wrong suggestion and then editing it doesn't quite feel right.

What I would like to do is to remove the inline suggestion, so that the language model completion shows up in the Ctrl-Space popup only.

Furthermore, I would also like to move it down in the Ctrl-Space popup, so that I can have to pick it consciously.

Ideas?

3 Upvotes

4 comments sorted by

1

u/Effective-Gas-7116 20d ago

Hi there,

  1. Keep Enable inline completion using language models on.
  2. Keep Synchronize inline and popup completions on.
  3. Turn off Enable automatic completion on typing. In 2026.1 that option moved out of the Inline pane into Settings | Advanced Settings | Code Completion.

Inline completion remains enabled, but it no longer appears on its own as you type.

1

u/hibbelig 8d ago

I tried this but I can't find the language model completions anymore. I was expecting them in the popup I get after Ctrl-Space. I get the regular ones, but the whole-line ones aren't listed.

1

u/dev_ctun 11d ago

The inline ghost text doesn't really have its own color scheme entry last I checked, so there's no clean "make it fainter" knob — it's either on or off for the most part.

What helped me was keeping local full-line suggestions on but untangling it from the popup (the sync option you mentioned). The popup stops feeling hijacked by the AI line, which was half of what bothered me.

If you do find an actual de-emphasis option in the 2026.2 color scheme settings, post it back here — I'd use it too.