C/C++ block comment format control

I would like the ability to change the C/C++ block comment style from
 

/*
 * This is
 * a comment.
 */

to

/*
    This is also
    a comment.
*/

Specifically I would like knobs to control:

  1. Whether there are ‘*’ on each middle line
  2. Whether the final ‘*/’ has the ‘*’ aligned to the first ‘*’
  3. The indent/spacing between the column containing the first ‘/’ and the column containing all the comment text.

Furthermore, it would be nice to be able to select the number of '*' characters based on a fixed number of the maximum length of of a line before wrapping around.

0

请先登录再写评论。