Jim
Jim

Reputation: 16022

how to customise the generated documentation template using intelij-javadoc

I am using this plugin to generate javadoc documentation in InteliJ idea.

https://github.com/setial/intellij-javadocs/wiki

The wiki mentions template variables, but I am reasonably new to intelij, so need some more step by step instructions on how to go about customising the generated documentation.

I want to remove the space between the description and variable(s).

/**
 * Gets task pool configuration id.
 *
 * @return the task pool configuration id
 */
public Long getTaskPoolConfigurationId() {
    return taskPoolConfigurationId;
}

to this

/**
 * Gets task pool configuration id.
 * @return the task pool configuration id
 */
public Long getTaskPoolConfigurationId() {
    return taskPoolConfigurationId;
}

Upvotes: 1

Views: 110

Answers (1)

tworogue
tworogue

Reputation: 429

You can change this here:

  • Settings (Ctrl + Alt + S)
    • Editor
      • Code Style
        • Java
          • "JavaDoc" tab
            • Toggle off "Blank Lines - After Description"

Upvotes: 3

Related Questions