Deleted Class template code. Now I cant make class. Oops. Follow
I was trying to remove the default content that shows up above the class body. So I made a visit to the Class Template and deleted it.
I cant make classes I get an error now. "This template did not create a class or an interface"
I looked for a default. I uninstalled and reinstalled and still the default code isnt there.
This is in settings (ctrl - alt - s) -> IDE settings -> File Templates -> Template -> Class
Can you just paste the code for me here?
thanks you.
Please sign in to leave a comment.
#if (${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
public class ${NAME} {
}