IntelliJ: Code completion not working - no suggestions

Answered

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 suggestions".

enter image description here

This is my project directory, even if I type in starter and then press ctrl-spacebar, there is "no suggestion" even though the file exist in the project directory. I took the code off this repo (https://github.com/cfaddict/spring-boot-intro) and open the project within this directory (web-applications/static-content/pom.xml):

enter image description here

I have tried the following according to this thread (Intellij IDEA CE 12 Android XML Code Completion not working):

  1. Go to File->Power Save Mode and disable it - it is off.

  2. Go to Preferences->Editor->Code Completion and check Autopopup code completion - this has been checked

  3. Go to File->Invalidate Caches and restart. - done and no change

What is it that I'm doing wrong? I'm using IntelliJ community edition. 

 

3
8 comments

CSS/JavaScript completion is supported only in IntelliJ IDEA Ultimate, see https://www.jetbrains.com/idea/features/editions_comparison_matrix.html.

Community Edition provides only basic syntax highlighting for these file types.

0
Avatar
Permanently deleted user

I have Ultimate Edition and I have the same problem and completed the same steps. I even uninstalled and reinstalled. I'm working with Java. I have intellj 2017.1.4

1

Please file a ticket to support via https://intellij-support.jetbrains.com/hc/requests/new.

Attach the following:

- sample project to reproduce

- idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085)

- a short video of the problem or a sequence of the screenshots with the complete IDE window showing where completion doesn't work

0
Avatar
Permanently deleted user

thanks 

0
Avatar
Permanently deleted user

Hey, recently i came to face the same problem with intellij idea not showing autocomplete. 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.

Thank you.

1
Avatar
Permanently deleted user

I had similar issue. Basic code completion was not working for java code on intellij CE macOS. The shortcut ctrl + space was used in the system shortcuts for another app. I went to macOS system preferences -> keyboard -> shortcuts and removed ctrl+space association.

6

my inteliji is not picking 'close' and 'read'  functons ...any solution ?

0

Hello,

Is it possible to provide sample project for investigation?

0

Please sign in to leave a comment.