In Visual Studio I can use the Refactor -> Extract Interface... option to generate an interface from public methods on a class. However this does not copy across the XML comments and I end up spending several minutes copying and pasting them. Are there any macros or add-ins that can use the existing comments on the class when auto creating an interface?
Have you tried using ReSharper?
When I extracted an interface using ReSharper, the XML comments on the extracted methods were preserved.
The GhostDoc addin will probably help you out here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With