Intellij not adding default javadoc comments with (/** + Enter)

55 views Asked by At

I have a file and Code Template setup for Class files under my intellij settings as

  #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
    #parse("File Header.java")
    public class ${NAME} {
    }

I have some standard format setup in Header.java which I want to use everywhere. So whenever I create a new java class I get the content of Header.java on top of class as comment.

But, If somehow I have an existing java class without the comment and I type /** + Enter I only get this

/**
 * 
 */```

I'm unable to find where to set these code template to have default class level javadoc comment to be created upon `/** + Enter` 

Using community Addition. 
0

There are 0 answers