Is there a tool for .NET which will generate explanations (comments) of code if we give it function or event handlers (like GhostDoc which we feel is not a good tool)?
Actually, ///
doesn't generate any documentation, just empty XML tags. Where GhostDoc shines is in generating MSDN style documentation (including the verbiage) automatically, based on contextual information such as property, class, visibility, usages etc.
Here are some true alternatives:
Now, whatever you do, please do not produce undocumentation! :)
If you start a comment with /// in VS2010, it'll create basic parameters in XML for you based on the function you're commenting.
http://msdn.microsoft.com/en-us/magazine/dd722812.aspx
So typing /// before the function startMonitor(ManagementScope scope)
gives...
/// <summary>
///
/// </summary>
/// <param name="scope"></param>
static void startMonitor(ManagementScope scope)
If you're wanting to generate decent documentation from these, I suggest https://github.com/EWSoftware/SHFB as your first stop. It's pretty ace.
Take a look at Sandcastle. It will work with Visual Studio 2005 projects. There are also downloads still available for nDoc. It had its heyday around 2005, but I think little or no development has taken place since.
If you're looking for something that will actually prepopulate code comments for you, I'm not sure you can do much better than GhostDoc.
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