CommentRemover icon indicating copy to clipboard operation
CommentRemover copied to clipboard

Feature request - add "remove _empty_ XML doc comments"

Open NeilMacMullen opened this issue 4 years ago • 3 comments

I tend to just use the Summary and Remarks tags for Intellisense but typing /// generates empty entries for all the parameters and the return type. I notice this extension can remove XML comments and looking at the code it seems it ought to be relatively straightforward to add an option to ensure that it only removes empty comments.

I.e I'd like a command to transform

///<summary>This is my method</summary>
///<remarks>It's not very interesting</remarks>
///<param name="foo"></param>
/// <returns></returns>

to

///<summary>This is my method</summary>
///<remarks>It's not very interesting</remarks>

I'd be happy to raise a PR but struggling with understanding how to build and test the extension - I get build errors for missing IComponentModel and ComponentModelHost when trying to build under VS2019 Preview.

NeilMacMullen avatar Oct 30 '19 10:10 NeilMacMullen