Coding style 向intellij idea添加自然文档样式的备注生成

Coding style 向intellij idea添加自然文档样式的备注生成,coding-style,intellij-idea,documentation-generation,Coding Style,Intellij Idea,Documentation Generation,我正在寻找一种方法,将样式注释生成添加到intellij想法中。 以类似于javadoc注释生成的方式。 我尝试了“设置”->“代码样式”菜单,但不知道如何操作 自然文档示例: /* Function: Multiply Multiplies two integers. Parameters: x - The first integer. y - The second integer. Returns: The two int

我正在寻找一种方法,将样式注释生成添加到intellij想法中。 以类似于javadoc注释生成的方式。 我尝试了“设置”->“代码样式”菜单,但不知道如何操作

自然文档示例:

/*
   Function: Multiply

   Multiplies two integers.

   Parameters:

      x - The first integer.
      y - The second integer.

   Returns:

      The two integers multiplied together.

   See Also:

      <Divide>
*/
int Multiply (int x, int y)
   {  return x * y;  };
/*
函数:乘法
将两个整数相乘。
参数:
x-第一个整数。
y-第二个整数。
返回:
这两个整数相乘。
另见:
*/
整数乘法(整数x,整数y)
{返回x*y;};

当您键入
/**
并按Enter键时,IDEA只能为您的方法生成JavaDoc标准存根。它对自然医生一无所知。要支持这样的文档生成,您需要编写一个插件,以便IDEA开发人员考虑。

您能用示例代码说明一下吗?这就是我的想法,但我有点希望有人能给出更好的答案。