For example, if I have a file (example is Kotlin):
package app
enum class Resources {
Gold,
Wood,
Food
}
How can I make IntelliJ suggest Resources.Gold
, Resources.Wood
, and Resources.Food
in another file? It was doing this for me at one point but for some reason it has suddenly stopped. I can't find anything about it in the Code Completion settings and nothing changed when I reinstalled IntelliJ nor when I restarted my computer.
Here is a screenshot of my IDE where I expect code completion (line 29):
Thanks in advance!