问题
Title states my problem, i get this error message:
Cannot Create Class Unable to parse template "Class"
Error message: Selected class file name 'Main.java' mapped to not java file type 'Files supported via TextMate bundles'
Anyone got any ideas on how I can solve this?
回答1:
Please check the File Types. It looks like Main.java
file name or extension was mapped to the wrong file type by accident (Files supported via TextMate bundles
). Remove the invalid type mapping to fix the problem. The name/extension should be mapped to Java files instead (the default setting).
See if disabling TextMate bundles plug-in helps.
来源:https://stackoverflow.com/questions/59649916/problem-with-intellij-cannot-create-class-with-name-main