Reporter | Lawrence Johnston (ljohnston) |
---|---|
Created | Dec 21, 2011 4:38:55 AM |
Updated | Dec 27, 2011 6:53:43 PM |
Priority | Normal |
Type | Unspecified |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
Steps:
Ensure code cleanup profile has "Reformat embedded XML doc comments" enabled.
Create a method with a multi-line XML doc comment:
Reformat the code including the XML doc comment.
Expected:
Line breaks are unchanged.
Got:
Line breaks are stripped and comment is condensed onto a single line:
When this occurs with a lengthy 4 or 5 line comment the reformatted comment will trail well off the edge of the editor and require scrolling to read.
This is an issue with the release version of Resharper 6.1.
Ensure code cleanup profile has "Reformat embedded XML doc comments" enabled.
Create a method with a multi-line XML doc comment:
/// <summary> /// This comment /// spans multiple /// lines. /// </summary> public void MyMethod() { }
Reformat the code including the XML doc comment.
Expected:
Line breaks are unchanged.
Got:
Line breaks are stripped and comment is condensed onto a single line:
/// <summary> /// This comment spans multiple lines. /// </summary> public void MyMethod() { }
When this occurs with a lengthy 4 or 5 line comment the reformatted comment will trail well off the edge of the editor and require scrolling to read.
This is an issue with the release version of Resharper 6.1.