Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellisense in IntelliJ no longer working

I'm currently running IntelliJ IDEA 13.1. While running IntelliJ 13 intellisense/autocomplete stopped working. I tried upgrading and it still doesn't work.

I can explicitly invoke code completion using ctrl+space. I looked in Settings->Editor->Code Completion and nothing looks out of place. Is there somewhere else that turns this feature on/off?

like image 977
earthling Avatar asked Mar 19 '14 21:03

earthling


People also ask

Why is IntelliJ autocomplete not working?

By default, IntelliJ IDEA displays the code completion popup automatically as you type. If automatic completion is disabled, press Ctrl+Shift+Space or choose Code | Code Completion | Type-Matching from the main menu. If necessary, press Ctrl+Shift+Space once again.

How do I enable suggestions in IntelliJ?

Press Ctrl+Alt+S to open the IDE settings and select Editor | General | Code Completion. To automatically display the suggestions list, select the Show suggestions as you type checkbox.

Does JetBrains have IntelliSense?

Code completion (IntelliSense) To get you familiar with JetBrains Rider's code completion features, here are some implementation basics: The suggestion list of Automatic completion appears as soon as you start typing a new identifier. The suggestion list of Basic completion appears when you press Ctrl+Space .

How do you fix Cannot find declaration to go to in IntelliJ?

The reason IntelliJ couldn't find declarations was that the subprojects were not built. After investigating why subprojects were not built, I found out that using "auto-import" was breaking the subprojects. After importing the project from build. gradle without auto-import, it worked for me.


4 Answers

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.

like image 108
Loaf Avatar answered Sep 22 '22 14:09

Loaf


Check to see if you accidentally turned on Power Save (File/Power Save Mode) I myself just discovered that File/Power Save Mode does turn it off. I was having the same problem and must have accidentally set Power Save Mode to on.

like image 31
CrystalVisions Avatar answered Sep 19 '22 14:09

CrystalVisions


File -> Settings-> Editor-> General -> Code Completion-> Auto pop up code Completion

like image 36
Sergii Lisnychyi Avatar answered Sep 19 '22 14:09

Sergii Lisnychyi


I'm using Mac and when I upgraded to Big Sur my intellisense stopped working.

This is due Big Sur has a shortcut for Input Source. By disabling Mac shortcut, will make Intellisense work again.

You can see the option to disable in mac: enter image description here

like image 21
Federico Piazza Avatar answered Sep 22 '22 14:09

Federico Piazza