Enum missing from class types
Answered
I recently upgraded to 2016.3.2. Enum is missing from types in the Create New Class dialog. I get Class, Interface, JavaFXApplication, Singleton.
Please sign in to leave a comment.
Can't reproduce:
This is what I have
I do see Enum in Templates, but not in the list of class types.
Try to reinstall from http://www.jetbrains.com/idea/download/index.html.
Move/rename IDE folders to start with all the defaults: https://intellij-support.jetbrains.com/hc/articles/206544519.
Reinstalled the latest download. Enum and Annotation restored. Thanks
Hi,
I have installed the latest CE version + deleted all the folders mentioned in https://intellij-support.jetbrains.com/hc/articles/206544519
after which I started the IDE and the issue persists
I'm using Mac
Regards,
Tsachi
Did IDE ask to import the settings on the first start? Did you import any?
Happened to me when I used a lower SDK that doesn't know what enum is. Go to your project structure and confirm you have the right SDK or java version and Project-Language-Level set appropriately with regards to your java version
Best Answer to solve missing Java Types like the simple enum (frustrating me for hours - now it all works).
Lots of people have been searching for this fix for years. I finally found it here in the answer by Rafa Romero On January 4, 2017.
Go here: https://stackoverflow.com/questions/41460182/intellij-doesnt-recognize-java-enum?answertab=votes#tab-top
It comes down to fixing the Project language level. JetBrains is awesome, but it doesn't do this automatically.
Thank you Rafa
Mitch Millar