Domanda

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;
È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top