How configure Intellij Idea javadoc templates?

后端 未结 6 1459
忘掉有多难
忘掉有多难 2020-12-03 02:57

I have some method:

public int getSomeField()

I want to generate javadoc like this:

/**
* Gets {someField}
*
* @return valu         


        
6条回答
  •  旧时难觅i
    2020-12-03 03:41

    Surely you can add a live template for such javadoc. The easiest way to do it is to select the whole comment and invoke "Save as live template" action (Tools menu). See http://www.jetbrains.com/phpstorm/webhelp/creating-and-editing-live-templates.html for more details.

提交回复
热议问题