Search code examples
c#resharperstylecop

stylecop / resharper configuration to not add comments


how to configure stylecop or resharper to NOT add meaningless comments when doing "cleanup code"??

OK (KEEP/NICE TO HAVE):

have region tags:

#region Public Properties

REMOVE:

    /// <summary>
    /// Gets or sets the description.
    /// </summary>

OR

    /// <summary>
    /// The _context.
    /// </summary>
    private static HttpContextBase _context;

Solution

  • Under Reshaper->Options->Tools->Code Cleanup, modify or create a new cleanup profile and de-select all the Stylecop->Documentation items:

    enter image description here