I asked this same question on the R# Community Forums; haven't heard anything in a few days. Thought I'd re-post on SO.
Where is the R# 6 setting for the spacing in XML comments around the equal sign for C#? I've gone through all the code formatting options I could find in the R# settings, but none seem to be affecting the spacing issue described below whenever I use the R# code-cleanup tool.
Before R# code formatting:
/// <summary>
/// Writes trace information...
/// </summary>
/// <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache" /> object containing....</param>
After R# code clean-up formatting:
/// <summary>
/// Writes trace information...
/// </summary>
/// <param name = "eventCache">A <see cref = "T:System.Diagnostics.TraceEventCache" /> object containing....</param>
Notice the spacing around the equal sign between 'name' and 'eventCache'; and between 'cref' and 'T:System...'
In "ReSharper → Options → Code Editing → XML Doc Comments → Formatting Style → Tag content → Indent inside element that contain text" set "No indent from parent element".
This was reported as a bug, as far back as resharper 5 in October 2009, and it's especially irritating as it happens differently for different people.
The work around currently is to create a new Code Cleanup profile and de-select "Reformat embedded XML doc comments".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With