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
jetbrains.com › help › idea › auto-completing-code.html
Code completion | IntelliJ IDEA Documentation
2 weeks ago - After you specify an imported package name, such as http, you can type 404 to autocomplete the value to http.StatusNotFound. Narrow down the suggestion list by typing any part of a word (even characters from somewhere in the middle) or invoking code completion after a dot separator . IntelliJ IDEA displays suggestions containing the characters you've entered, regardless of their position.
Discussions

IntelliJ AutoCompletion Not Working
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000116064-Autocompletion-stopped-working More on reddit.com
🌐 r/IntelliJIDEA
2
2
July 12, 2020
Code auto completion does not work in IntelliJ Community Edition
Before submitting your bug report I believe this is a bug. I'll try to join the Continue Discord for questions I'm not able to find an open issue that reports the same bug I've seen the troubleshoo... More on github.com
🌐 github.com
30
June 11, 2024
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
Autocomplete not working properly
Environment IntelliJ Rust plugin version: 0.4.163.4378-213 Rust toolchain version: 1.58.1 (db9d1b20b 2022-01-20) x86_64-pc-windows-msvc IDE name and version: CLion 2021.3.2 (CL-213.6461.75) Operati... More on github.com
🌐 github.com
1
January 25, 2022
🌐
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 - I cannot seem to get autocompletion to work on my IntelliJ 2016.1.1. 'm trying to use the ctrl + spacebar shortcut in IntelliJ for code completion but every time I do it, it returns "no suggestio...
🌐
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.

🌐
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
intellij-support.jetbrains.com › hc › en-us › community › posts › 360010854000-Intellisense-in-IntelliJ-no-longer-working
Intellisense in IntelliJ no longer working – IDEs Support (IntelliJ Platform) | JetBrains
June 9, 2021 - Changing that JDK value seemed to fix the Maven issue but then Intellisense stopped working. I reverted that change, did a Maven reimport, and everything was back in working order. ... After update to the latest IntelliJ Intellisense stop working at all, helped only uninstall and intall IntelliJ old version
🌐
CodeJava
codejava.net › ides › intellij › fixed-intellij-sql-autocomplete-not-working
[Fixed] IntelliJ SQL AutoComplete Not Working
If IntelliJ doesn’t recognize the SQL literal (with SQL keywords are in orange color), place the caret inside the SQL literal and press Alt + Enter to show the available hints:Then choose Inject language or reference, and select SQL from the list of languages:The you will see IntelliJ recognizes the String literal as SQL statement, as shown below: Now, if you press Ctrl + Space, you will see the autocomplete for SQL keywords – not for names of tables and columns in the configured data sources.
Find elsewhere
🌐
GitHub
github.com › continuedev › continue › issues › 1466
Code auto completion does not work in IntelliJ Community Edition · Issue #1466 · continuedev/continue
June 11, 2024 - The tab auto completion does not work in IntelliJ Community Edition. However, the chat works fine and was able to produce response. The ~/.continue/core.log file doesn't show any errors too. Install continue.dev from the marketplace in your intelliJ · Proceed with the setup · Set provider to llama.cpp · Set model to starcoder2-3b · Set apiBase to the llama.cpp server · Screenshot below shows the chat is working fine. Screenshot below shows that the autocompletion does not work with intelliJ (left) while in vscode (right) works ·
Author: continuedev
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 10488778624146-Autocomplete-as-I-type-randomly-stops-working
Autocomplete as I type randomly stops working – IDEs Support (IntelliJ Platform) | JetBrains
While I work after hours (sometimes Minutes) Autocomplete as you type randomly stops working for me. When I go to the Settings, "Show suggestions as you type" is unchecked. After I re-enable it, it works fine again for the rest off the session. The next time I open IntelliJ, the issue happens again.
🌐
YouTube
youtube.com › watch
[FIXED] IntelliJ SQL AutoComplete Not Working - YouTube
In this short video, I'd love to share with you guys a solution to fix the issue of SQL autocompletion not working in IntelliJ IDEA. This solution is 100% wo...
Published: November 29, 2020
🌐
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.

🌐
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 - Go to Keymap. Search for Basic Completion. Confirm the shortcut is set to Ctrl+Space (default) or whichever you expect. If it’s missing or assigned to something else, set it back and remove conflicting assignments. After changing shortcuts, restart IntelliJ IDEA once to flush keymap conflicts.
🌐
CodingTechRoom
codingtechroom.com › question › intellij-code-autocomplete-not-working
What to Do When IntelliJ Code Autocomplete Isn't Functioning? - CodingTechRoom
Confirm the autocomplete feature is enabled in settings: 'Preferences' → 'Editor' → 'General' → 'Code Completion'. Mistake: Overlooking project SDK settings, leading to improper environment setup.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 4414406834834-Autocomplete-not-working-for-html-attributes
Autocomplete not working for html attributes – IDEs Support (IntelliJ Platform) | JetBrains
January 3, 2022 - All of a sudden autocomplete does not predict html attributes like class, name, placeholder. It works with aria-label etc just not the aforementioned. I do not have power saving mode enabled and ca...
🌐
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
IntelliJ IDEA 2016.3.5 Build #IC-163.13906.18, built on March 6, 2017 JRE: 1.8.0_112-release-408-b6 x86 JVM: OpenJDK Server VM by JetBrains s.r.o ... File > Settings... > Editor > General > Code Completion ... File > Settings... > Editor > General > Code Completion · Ans, at the end, I restarted the editor by clicking on : File > Invalidate Caches / Restarts... Please note that I am using Windows 7. Java is well installed and works correctly (both the JRE and the JDK).
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 4409530774290-Code-Completion-not-working
Code Completion not working – IDEs Support (IntelliJ Platform) | JetBrains
What I do not understand is why the completion is not showing up when there is no other suggestion. Is there a good example I can rely to to add suggestions to an existing language (let's say Java or Python) I can rely on? ... Please try changing https://github.com/codiga/jetbrains-plugin/blob/main/src/main/java/io/codiga/plugins/jetbrains/completion/CodigaCompletion.java#L12 to pass com.intellij.codeInsight.completion.CompletionType#BASIC as first parameter. ... Thank you, it worked!
🌐
GitHub
github.com › intellij-rust › intellij-rust › issues › 8466
Autocomplete not working properly · Issue #8466 · intellij-rust/intellij-rust
January 25, 2022 - The autocomplete doesn't work properly: The autocomplete feature doesn't show all possible options.
Author: intellij-rust
🌐
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 am using Python 3.7 on a MacBook with the latest IntelliJ. AutoComplete works when I use the CTRL + Space bar. I would like for it to work as I type. Is there a way to set this up this way? ... That worked. ... I have the exact same issue. while I'm typing I don't get any suggestions unless I pres control+space 2 times. If I press it 1 time I get "No suggestion" pop up. If I type it completely and press option+return it suggests the import correctly. ... Thank you for the response. It's not a project specific thing.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 30839273901586-Issue-with-autocomplete
Issue with autocomplete – IDEs Support (IntelliJ Platform) | JetBrains
November 6, 2025 - No actually, even if I specify the columns, not using the asterisk, the auto completion behaviour remains unchanged. This indeed only seems to happen in SELECT statements, UPDATE and DELETE autocomplete works as expected, as does the auto complete within the SELECT.