Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287226: Embedded XML doc comments have line breaks stripped and are not wrapped when code cleanup is performed

$
0
0
Reporter Lawrence Johnston (ljohnston) 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:
/// <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.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>