Visual Studio 2010 Interface - Copy XML Comments?

When I have a class that implements the interface, I can right-click on the name of the interface in this class file and select "Use Interface". Visual Studio 2010 will automatically populate my class with the required methods and fields.

Is it possible to configure Visual Studio 2010 to also copy generic XML comments attached to these methods / fields to a new class file?

+4
source share
1 answer

IMHO Visual Studio cannot do this out of the box.

You can install ReSharper , which will give you exactly the functionality you are looking for or using GhostDoc , which will make it easier to get a basic comment for your interface.

Hope this helps!

+1
source

Source: https://habr.com/ru/post/1345490/


All Articles