How to auto-wrap C# comments when performing "Tools -> Cleanup code" ?
When I perform "Tools -> Cleanup code", long comments are not automatically chopped into multiple lines.
My Right margin in Line Breaks and Wrapping is set at 120.
I've looked in "Code Editing | C# | Formatting Style | Line Breaks and Wrapping" but couldn't find anything related to comments.
For example I would like the following line
// A delegate is a type that represents references to methods with a particular parameter list and return type. When you instantiate a delegate, you can associate its instance with any method with a compatible signature and return type. You can invoke (or call) the method through the delegate instance.
to become like this:
// A delegate is a type that represents references to methods with a particular parameter list and return type.
// When you instantiate a delegate, you can associate its instance with any method with a compatible signature
// and return type. You can invoke (or call) the method through the delegate instance.
Please sign in to leave a comment.
Has this feature been considered?
Hello Seth!
Please refer to the corresponding issue and developer's comment - https://youtrack.jetbrains.com/issue/RSRP-468779#focus=streamItem-27-2774397.0-0
Thank you.
That issue refers to XML doc comments, not single-line comments
I second Seth - has there been any updates on this? (google links this as one of the first results).
Hello,
for single line comments there's another issue - https://youtrack.jetbrains.com/issue/RSRP-225809/. Please comment or vote for it.
Thank you.