leading space in javadoc

Answered

 Our comments are supposed to be formatted like this

 /**

comment starts with no leading space

*/

 

But the code formatter is inserting a leading space like so

/**

 comment has a leading space

*/

I've tried all combinations of the settings in code Style -> Java-> Code Generation -> Comment Code, but they aren't making any differences.

Any ideas?

 

Thanks,

Aaron

0
4 comments
Avatar
Permanently deleted user

I guess I'm wondering if this is a bug, or if I'm mis-understanding the options.

It seems that one of these options should affect this.

As I explain this, I think I'm understanding more.  This is a block comment, and so that same "add space at start" option would need to be added as a feature for block comments.  Is that correct?

0

Looks like it is, it's also specific to you comment style without the leading asterisk.

0
Avatar
Permanently deleted user

Yeah it is specific, but that's what I'm told to do.

Feature request entered: https://youtrack.jetbrains.com/issue/IDEA-166872

 

Thanks!

0

Please sign in to leave a comment.