TSergey / intellij-javadocs

Intellij-idea javadocs generator
http://tsergey.github.io/intellij-javadocs/
Apache License 2.0
237 stars 96 forks source link

JavaDoc not generated for inherited method in sub-class #60

Closed hbprotoss closed 4 years ago

hbprotoss commented 8 years ago

Only works for newly added method.

But I have settings below in the end of <METHODS> section:

<METHOD>
          <KEY>.+</KEY>
          <VALUE> /**\n
 * &lt;p class=&quot;detail&quot;&gt;\n
 * 功能: \n
 * &lt;/p&gt;\n
 * @author hbprotoss\n
&lt;#if element.typeParameters?has_content&gt;         * \n
&lt;/#if&gt;
&lt;#list element.typeParameters as typeParameter&gt;
         * @param &lt;${typeParameter.name}&gt; the type parameter\n
&lt;/#list&gt;
&lt;#if element.parameterList.parameters?has_content&gt;
         *\n
&lt;/#if&gt;
&lt;#list element.parameterList.parameters as parameter&gt;
         * @param ${parameter.name}:\n
&lt;/#list&gt;
&lt;#if isNotVoid&gt;
         *\n
         * @return ${return}\n
&lt;/#if&gt;
&lt;#if element.throwsList.referenceElements?has_content&gt;
         *\n
&lt;/#if&gt;
&lt;#list element.throwsList.referenceElements as exception&gt;
         * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
&lt;/#list&gt;
 * @date ${.now?string[&quot;yyyy.MM.dd HH:mm:ss&quot;]} \n
 */</VALUE>
        </METHOD>
TSergey commented 4 years ago

Try in 4.01 version