Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gq/gw should format javadoc style comments like multiline comments #11306

Open
justinwrobel opened this issue Oct 7, 2022 · 0 comments
Open

Comments

@justinwrobel
Copy link

Currently, gq/gw formats javadoc and multiline styles differently. Mutliline comments are denoted with slash, star (/*). Javadocs are denoted by slash, star, star (/**).

Multiline comment are formatted as follows:

/* 
 * Really nice comment
 */

This works great!

Javadoc comments are formatted as follows:

/** Really nice comment
 */

This does not work as expected, instead it should be formatted as follows:

/** 
  * Really nice comment
  */

Describe the solution you'd like
gq/gw should format javadoc comments like multiline comments

Thanks for all your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant