For me it was because I did not have a folder marked as Source Root (it appears in blue).

To fix, right click your root source directory -> Mark As -> Source Root.

Answer from Loaf on Stack Overflow
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000166784-IntelliJ-Code-completion-not-working-no-suggestions
IntelliJ: Code completion not working - no suggestions – IDEs Support (IntelliJ Platform) | JetBrains
April 12, 2017 - And, then i figured it out that, following solution solve my problem. Unchecked the power save mode which is on the right bottom corner with icon of man. ... I had similar issue. Basic code completion was not working for java code on intellij ...
🌐
Reddit
reddit.com › r/intellijidea › intellij autocompletion not working
r/IntelliJIDEA on Reddit: IntelliJ AutoCompletion Not Working
July 12, 2020 -

I tried everything. It was working like the first day I downloaded IntelliJ and then something happened where it stopped auto-completing. I looked up the issue, went into Preferences(Macbook) -> General -> Code Completion -> and checked and unchecked everything which looked like it could fix my problem.

Nothing worked, autocomplete only happens for some random words which are completely unrelated to the program I'm writing. It doesn't get the most obvious auto completes.

So I deleted IntelliJ and redownloaded. Nope. I deleted IntelliJ and all the files that came with it. Nope. (Though I may have done something wrong here, for some reason the code on InteliJ that I wrote came back, so I didn't delete it fully somehow. I gave up and started working on a project, but it's getting annoying without auto-complete. I don't wanna try deleting everything again so I don't have to redo all the files and everything. Heeeeeelp.

TLDR: Tried going Preferences -> General -> Code Completion, nothing worked, tried deleting reinstalling, didn't work. Help please, thank you so much in advance.

Discussions

Autcomplete not working (anymore) on Intellij 2022.3
When opening terminal in Intellij, Fig autocomplete doesn't work. When running 'fig doctor', I get the following result: ✘ Figterm: Figterm socket write timed out after 1s · ✘ Doctor found errors. Please fix them and try again. I have restarted Intellij, 'fig restart', restarted my mac but ... More on github.com
🌐 github.com
6
December 5, 2022
IntelliJ AutoCompletion Not Working
Do you have a folder marked as a source folder? IntelliJ needs that to know where to autocomplete from. More on reddit.com
🌐 r/learnjava
12
4
July 12, 2020
java - Why doesn't IntelliJ code autocomplete work? - Stack Overflow
When I try to use the code autocomplete of IntelliJ by using ctrl+space it doesn't work. ... For example, in this code I want to use the add method of List and it doesn't give me the option to. ... BTW. A hash % 360 might be negative when hash is negative. ... Your file doesn't reside in a content root and is not ... More on stackoverflow.com
🌐 stackoverflow.com
Autocomplete is not showing in IntelliJ IDEA for Ollama
Before submitting your bug report I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer I'm not able to find a related conversation on ... More on github.com
🌐 github.com
3
February 12, 2026
🌐
GitHub
github.com › withfig › fig › issues › 2120
Autcomplete not working (anymore) on Intellij 2022.3 · Issue #2120 · withfig/fig
December 5, 2022 - When opening terminal in Intellij, Fig autocomplete doesn't work. When running 'fig doctor', I get the following result: ✘ Figterm: Figterm socket write timed out after 1s · ✘ Doctor found errors. Please fix them and try again. I have restarted Intellij, 'fig restart', restarted my mac but ...
Author: withfig
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360007264739-python-autocomplete-not-working
python autocomplete not working – IDEs Support (IntelliJ Platform) | JetBrains
February 6, 2020 - I know I have specified the pipenv environment correctly because it works fine after pressing control+space twice and If I type it completely and press option+return it suggests the import correctly.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360000116064-Autocompletion-stopped-working
Autocompletion stopped working – IDEs Support (IntelliJ Platform) | JetBrains
February 23, 2018 - Initially code analysis got slower, now even code completion stopped working. Gone through the pain(waiting for indexing) of Invalidating Caches thingy, made no difference. Updated to latest build 192.6262.58 made no difference. Did a fresh setup of the project made no difference. Finally downloaded a fresh copy of IntelliJ and it worked.
🌐
JetBrains
jetbrains.com › help › idea › auto-completing-code.html
Code completion | IntelliJ IDEA Documentation
2 weeks ago - If the necessary class is not yet imported, it will be imported automatically. Code completion is available for custom file types. However, IntelliJ IDEA does not recognize the structure of such files and suggests options regardless of whether they are appropriate in the current context.
🌐
Reddit
reddit.com › r/learnjava › intellij autocompletion not working
r/learnjava on Reddit: IntelliJ AutoCompletion Not Working
July 12, 2020 -

I tried everything. It was working like the first day I downloaded IntelliJ and then something happened where it stopped auto-completing. I looked up the issue, went into Preferences(Macbook) -> General -> Code Completion -> and checked and unchecked everything which looked like it could fix my problem.

Nothing worked, autocomplete only happens for some random words which are completely unrelated to the program I'm writing. It doesn't get the most obvious auto completes.

So I deleted IntelliJ and redownloaded. Nope. I deleted IntelliJ and all the files that came with it. Nope. (Though I may have done something wrong here, for some reason the code on InteliJ that I wrote came back, so I didn't delete it fully somehow. I gave up and started working on a project, but it's getting annoying without auto-complete. I don't wanna try deleting everything again so I don't have to redo all the files and everything. Heeeeeelp.

TLDR: Tried going Preferences -> General -> Code Completion, nothing worked, tried deleting reinstalling, didn't work. For example, it doesn't even finish any part of System.out.println or charAt(). Help please, thank you so much in advance. . P.S. I’m cross posting this on IntelliJ idea subreddit but no replies and for some reason the post was downvoted, so I’m posting here.

Find elsewhere
🌐
JetBrains
youtrack.jetbrains.com › issue › WI-57917 › Autocomplete-not-working-using-integrated-terminal
Autocomplete not working using integrated terminal : WI-57917
Autocomplete worked in the (previous) version running on Rosetta. When using the stand alone terminal (Mac terminal or iTerm), autocomplete works.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 5101885176210--BUG-Debugger-console-doesn-t-auto-complete-on-macOS-12-3-and-IntelliJ-IDEA-2022-1
(BUG) Debugger console doesn't auto complete on macOS 12.3 and IntelliJ IDEA 2022.1 – IDEs Support (IntelliJ Platform) | JetBrains
April 13, 2022 - # This is simple example how IntelliJ Editor and Debugger console context works with code autocomplete (suggestions) ## Case 1: not imported module - Got to file 'hello.js' - On the line number 3 (after `debugger` line) start to type: `aaa.` - You will see autosuggestion `iiHasNotBeenImported` - You can apply and will not see any error or trying to import it from `test.js` - The code running will be failed.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 4409530774290-Code-Completion-not-working
Code Completion not working – IDEs Support (IntelliJ Platform) | JetBrains
It is possible that the code completion suggestion is disabled in your IntelliJ( manually or when using power-saving mode). So you can check manual code completion by pressing CTRL + SPACE.
🌐
JetBrains
youtrack.jetbrains.com › issue › JBR-2999 › IntelliJ-M1-Pressing-tab-in-Terminal-to-autocomplete-is-not-working
IntelliJ M1: Pressing tab in Terminal to autocomplete is not ...
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
🌐
JetBrains
youtrack.jetbrains.com › projects › LLM › issues › LLM-1707 › Code-Completion-with-AI-assistant-does-not-work
Code Completion with AI assistant does not work : LLM-1707
Basically, I'm mostly using "AI assistance" for code completion of boilerplate code and just simple code in general. So the issues I'm facing are mostly related to code completion invocation. First, I'm using the default keymap for IntelliJ, but I cannot invoke inline completion through any key combination.
🌐
Android Experto
androidexperto.com › home › what to do when intellij code autocomplete isn’t functioning?
What to Do When IntelliJ Code Autocomplete Isn't Functioning
May 10, 2026 - Fix IntelliJ autocomplete not working: verify completion settings, keymap, plugins, Gradle sync, and rebuild indexes to restore code suggestions fast
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 11969356053522-Can-t-get-code-completion-to-work
Can't get code completion to work – IDEs Support (IntelliJ Platform) | JetBrains
June 13, 2023 - By the way, it could also be a focus issue. If it's reproduced again, please note your current window layout state: multiple monitors, full screen mode, etc.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000151990-Auto-completion-is-not-working-on-the-community-edition-Is-it-normal-
Auto completion is not working on the community edition. Is it normal ? – IDEs Support (IntelliJ Platform) | JetBrains
June 4, 2017 - Hello, I’ve installed the community edition of the JAVA editor IntelJ IDEA, which version is given below: IntelliJ IDEA 2016.3.5Build #IC-163.13906.18, built on March 6, 2017JRE: 1.8.0_112-release-...
🌐
JetBrains
youtrack.jetbrains.com › articles › SUPPORT-A-2103 › AI-Auto-completion-stopped-working
AI Auto completion stopped working | Knowledge Base
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
🌐
GitHub
github.com › continuedev › continue › issues › 10483
Autocomplete is not showing in IntelliJ IDEA for Ollama · Issue #10483 · continuedev/continue
February 12, 2026 - Check that Continue > Settings > Models > Autocomplete = Qwen 2.5 Autocomplete Model. Open a TypeScript file. ... Expected: Auto-complete suggestions show up. Actual: Nothing shows up.
Author: continuedev