Reformatting of embedded XML comments in c# code
Hi,
how can I achieve the following reformatting:
/// <summary>a comment comment comment</summary>
/// <param name = "foo">describes the parameter foo</param>
public void MyMethod(int foo)
{
...
}
to
/// <summary>a comment comment comment</summary>
/// <param name="foo">describes the parameter foo</param>
public void MyMethod(int foo)
{
...
}
Notice that <summary> tag content is still on the same line, but the spaces around the = are deleted!
Thanks!
Jürgen
Please sign in to leave a comment.
Hello Jürgen,
You should turn off 'Spaces around = in attribute' option under ReSharper
| Options | Languages | XML | Formatting Style and then run Code Cleanup
with a profile which has 'Reformat Embedded XML Comments' option turned on.
Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"