Step 1: Click โFileโ ==> โSettingsโ
Step 2: Expand "Editor" and click "File Types"
Step 3: You will see all file types on the right. Go to "Text Files" and click on it.
Step 4: You should see the name of your file at the bottom of the registered templates (bottom field)
Step 5: Remove your file from registered templates. The problem should be resolved and allow you to rename with fileName.java
Step 6: If not, delete the file from the project and recreate it with the name fileName
Source
EvilInside Nov 25 '14 at 18:07 2014-11-25 18:07
source share