intellij-idea

How to disable code suggestions in IntelliJ


I've upgraded my version of IntelliJ to version 2025.1. One of the new features is some sort of AI that is trying to guess what I'm going to type, and if I like the suggestion I'm supposed to press the Tab key to accept it. I don't like this; most of the time it's guessing wrong, but it's also really annoying, so I want to stop it.

Searching around the web I've found posts from other people who want to disable it. The advice is to go to Editor > General > Inline completion and then disable "Enable local Full Line". This doesn't work for me because when I navigate to the Inline completion page there aren't any options to select. It's literally a blank page!

I've also tried to disable all the bundled AI plug-ins but the code suggestions are still appearing


Solution

  • The "feature" is actually called "Inline Completion".

    If you go to Editor -> General -> Inline Completion and untick "Enable local Full Line completion suggestions" the made up class members will disappear.

    As an aside, this is a very annoying feature which constantly threw me off my chain of thought with its wrong suggestions that didn't correspond to anything in my codebase.