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

Javadoc-style comments do not wrap correctly without leading newline #20

Open
jrk opened this issue May 5, 2013 · 1 comment
Open

Comments

@jrk
Copy link

jrk commented May 5, 2013

Working in a C++/Doxygen project with the convention that doc comments start immediately after the opening /**:

/** This is a docstring across multiple lines
 * which does _not_ rewrap correctly. */

Wrap Plus does not correctly recognize this as a C-style block comment, so it does not insert * at the start of newly split lines like it does when there is a leading newline:

/**
 * This is a docstring across multiple lines
 * which _does_ rewrap correctly.
 */
@jrk
Copy link
Author

jrk commented May 5, 2013

Related: when the closing */ is not preceded by a newline, any whitespace before it is lost. /** This */ reflows into /** This*/.

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

No branches or pull requests

1 participant