How to customize Resharper's "code clean up" to change the documentation header rules in C#
I would like to use code clean up to automatically create the documentation headers in the following way:
/// <summary>
/// **Some summary.**
/// </summary>
/// <param name="myParam">**The param.**</param>
/// <typeparam name="TService">**The type.**</typeparam>
/// <returns>**Whatever.**</return开发者_运维技巧s>
TService Do<TService>(int myParam)
This is, summary has multiple lines but the rest of the fields use a single line. Currently my default resharper settings always use multiple lines.
What is the set of rules that control this behavior in Resharper "code clean up"? Is it possible?
Resharper's code cleanup won't do this, but you can use GhostDoc. It can even write correct comments for a lot of common methods (constructors, event handlers, properties, etc).
I won't create XML doc comments, only reformat them.
It will update file header though...
精彩评论