Can't create class with specific name
In my project I'm trying to create a class called "JoinGameLayout", for consistency reasons I need it to be called exactly that.
When I created the class initially I think I messed something up by adding a file extension, I think I added .class or .java, very dumb.
So I deleted the class. But now when I try to create a new class called "JoinGameLayout" it says:
( Unable to parse template "Class" Error message: Cannot create class-file )
I've also tried creating a class with a different name and renaming it to "JoinGameLayout", but when I do that it turns into a decompiled .class file which can only open in read-only mode.
Any help or ideas as to how to solve this would be much appreciated, I've been trying for so long and I can't get it to work.
Please sign in to leave a comment.
Close IntelliJ IDEA and reset the file types by deleting options/filetypes.xml file from the Configuration directory: https://www.jetbrains.com/help/idea/tuning-the-ide.html#config-directory.