256 Seconds with dotNetDave: Documenting Code with Visual Studio and Copilot

In this episode of 256 Seconds with dotNetDave, I will demonstrate how to use Visual Studio and the GitHub Copilot chat window to quickly create detailed XML comments for your Microsoft .NET projects!

With Visual Studio and Copilot, there’s no excuse for not providing thorough and helpful documentation, complete with examples!

Here are the commands I use to document my classes:

/doc use <see> tag where appropriate. Add <remark>.

/doc use <see> tag where appropriate. Add <remark>. Add example using <example> tag.

Please vote to encourage the Visual Studio team to display code examples in IntelliSense!

https://developercommunity.visualstudio.com/t/Add-the-XML-tag–to-IntelliSense/10112051


Discover more from dotNetTips.com

Subscribe to get the latest posts sent to your email.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.