错误提示:
Unable to parse template "Class"
Error message: Selected class file name 'SampleController.java' map to not java file type "text-file"
解决方法
因: Step 1: Click “File”==> “Settings”
Step 2: Expand “Editor” & Click “File Types”
Step 3: You will see all file types on Right. Navigate to the “Text Files” and Click it
Step 4: You should able to see your file name on the bottom of Registered Patterns (lower box)
Step 5: Remove your file from the Registered Patterns. The problem should solved and let you to rename with SampleController.java
Step 6: If not, delete the file from the project and create it again with name fileName
删除SampleController.java即可