Cant get re-formatting XML Doc comments to work in 7.1.1
Visual Studio 2010 with ReSharper 7.1.1, see attached file for formatting settings and code clean up options.Creating sample c# console project:namespace ConsoleApplication6 { internal class Program{ /// <summary>manually making this single line</summary> /// <param name="args"></param> private static void Main(string[] args) { } } }Running code clean up on the file, expecting summary tag to be broken into multiline like that:/// <summary>/// manually making this single line/// </summary> /// <param name="args"></param> But the comment stays in the same format. Can you please advise?Thank youAnna
Attachment(s):
CleanUpOptions.gif
Formattingsettings.gif
Attachment(s):
CleanUpOptions.gif
Formattingsettings.gif
Please sign in to leave a comment.
Anna,
Could you please provide some screens of source code, which will demonstrate the issue, since the Forum engine trims the line breaks and it's hard to say what's going on here.
Thank you!
Attachment(s):
ExpectedAfterCleanUp.gif
BeforeCleanUp.gif
Anna,
Looks like the only way to do it now is to set the "Code Editing | XML Doc Comments | Formatting Style -> Tag Content | Line breaks after header and before footer when tag is longer than ..." to a small value, like 5 symbols or so.
Thanks.