This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
3 Replies Last post: Jan 22, 2013 6:20 PM by Alex Berezoutsky  
Anna Koloskova Newbie 2 posts since
Jan 17, 2013
Currently Being Moderated

Jan 17, 2013 4:29 PM

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
Attachments:
Alex Berezoutsky JetBrains 469 posts since
Feb 18, 2011
Currently Being Moderated
Jan 18, 2013 5:47 PM in response to: Anna Koloskova
Re: Cant get re-formatting XML Doc comments to work in 7.1.1

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!

Alex Berezoutsky JetBrains 469 posts since
Feb 18, 2011
Currently Being Moderated
Jan 22, 2013 6:20 PM in response to: Anna Koloskova
Re: Cant get re-formatting XML Doc comments to work in 7.1.1

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.

More Like This

  • Retrieving data ...