Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
Qt Creator 14.0.0-beta1
-
None
-
Linux
Description
When rewrapping a paragraph in a C comment used to describe a function in doxygen style the indenting is broken.
If you start with:
Bar.cpp
/** * @brief function is a function that calculates some result from the parameter d, but does not return the result * * @param d is the parameter that is used in calculation. */ void function(double d);
and you place your cursor in the line of "brief" and press CTRL+e,r you end up in:
Bar.cpp
/** *@brief function is a function that calculates some result from the parameter *d, but does not return the result * * @param d is the parameter that is used in calculation. */ void function(double d);
That is not nice.
You would expect
Bar.cpp
/** * @brief function is a function that calculates some result from the parameter * d, but does not return the result * * @param d is the parameter that is used in calculation. */ void function(double d);
respecting the indenting.
I would even like to see
/** * @brief function is a function that calculates some result from the parameter * d, but does not return the result * * @param d is the parameter that is used in calculation. */ void function(double d);
Hint: If you select the whole interior part of the comment ( leaving out the line with /** and the line */ ) and press CTRL+e,r only the last line in rewrapped. Is this by intention?
Attachments
Issue Links
- clones
-
QTCREATORBUG-9739 Rewrap Pragraph does not work nicely in function documenting comments
- Closed