Closed Neonalig closed 1 year ago
@Neonalig There is already an option for this. Go to the ReSharper Options and below Tools -> AgenSmith -> XML Documentation -> General you will find "Regular Expression patterns to ignore for metatagging". When you add "this" to the list, it will not be highlighted anymore.
Often times when documenting methods, you use words such as 'this' without intending to talk about the base class. (such as in the example below)
Adding the ability to ignore 'WordCanBeSurroundedWithMetaTags' for specific words (i.e. 'this') would greatly enhance the user experience as they are no longer forced to wrap the word in
<c></c>
to indicate the identifier is not intended, or to add a comment suppression. This would perhaps be implemented as an 'identifier suggestion blacklist', allowing users to specify words they almost certainly don't want hints for, and can simply add the meta-tag themselves if required without being warned.