You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing this is not as straightforward as just splitting the line when reaching the maximum number of characters - if we happen to be in the middle of an xml element (like a <see cref="..." />, or in the middle of a word, the tool has to be smart enough to find the last whitespace character or sentence dividing character (dot, comma, colon, semicolon, etc.) and split the text line there instead.
I'll consider this request low priority because I want to avoid breaking the build as much as possible with the ported comments, and splitting a cref accidentally will cause a build break.
For future reference, the line splitting code will have to be added here:
Activity
carlossanlop commentedon Mar 5, 2021
Fixing this is not as straightforward as just splitting the line when reaching the maximum number of characters - if we happen to be in the middle of an xml element (like a
<see cref="..." />, or in the middle of a word, the tool has to be smart enough to find the last whitespace character or sentence dividing character (dot, comma, colon, semicolon, etc.) and split the text line there instead.I'll consider this request low priority because I want to avoid breaking the build as much as possible with the ported comments, and splitting a cref accidentally will cause a build break.
For future reference, the line splitting code will have to be added here:
https://github.com/carlossanlop/DocsPortingTool/blob/9f567bdb93ba1f5a53831c22479b9ec826e60617/Libraries/RoslynTripleSlash/TripleSlashSyntaxRewriter.cs#L715-L716
Allow wrap long lines
Allow wrap long lines
Allow wrap long lines
Allow wrap long lines