dakota97 Posted July 13, 2005 Posted July 13, 2005 Hi all, Is there a way to add the descriptive text of a custom method that I create, like the ones that appear when you select a method or property from the IDE? Thanks, Chris Quote if(computer.speed == "slow") { hamster.feed(); } if(computer.speed == "really slow") { hamster.kill(); BuyNewHamster(); }
Diesel Posted July 13, 2005 Posted July 13, 2005 (edited) Visual Studio has an xml documentation parser built in for C#. Simply press / 3 times (///) before methods and classes and the summary documentation tag appears You can download third party tools for xml documentation support in vb.net http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrftagsfordocumentationcomments.asp http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=en Edited July 13, 2005 by Diesel Quote
dakota97 Posted July 13, 2005 Author Posted July 13, 2005 (edited) Works like a charm. One thing though, it's 3 /// instead of 3 \\\ Thanks for the "tip" Chris Edited July 13, 2005 by dakota97 Quote if(computer.speed == "slow") { hamster.feed(); } if(computer.speed == "really slow") { hamster.kill(); BuyNewHamster(); }
dakota97 Posted July 14, 2005 Author Posted July 14, 2005 Ok, I must've been dyslexic when I first read that reply....lol Quote if(computer.speed == "slow") { hamster.feed(); } if(computer.speed == "really slow") { hamster.kill(); BuyNewHamster(); }
mskeel Posted July 15, 2005 Posted July 15, 2005 Also, if you are interested, NDoc is a really awesome tool that will convert your XML inforomation file into an MSDN style documentation webpage. Really cool if you are developing libraries that you share with other developers. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.