|
-
Apr 9th, 2006, 07:51 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Documentation, Explanation and Annotation of Program Code
We are just about to start a couple on new "major" (or at least major for us) projects and I wanted to create an internal policy to define the way in which we document and annoatate the code:
- is the there a defined methology somewhere for VB.NET code; and
- are there any inbuilt tools in VStudio 2005 to help with this?
-
Apr 9th, 2006, 09:26 AM
#2
Frenzied Member
Re: Documentation, Explanation and Annotation of Program Code
Take a look at this
Also if you type ''' you get this
VB Code:
''' <summary>
'''
''' </summary>
''' <param name="sender"></param>
''' <param name="e"></param>
''' <remarks></remarks>
When the app is compiled it creates an xml file. There are other nodes you can add to this. Type '''< and intelisense will help you out.
-
Apr 9th, 2006, 09:42 AM
#3
Re: Documentation, Explanation and Annotation of Program Code
Further to what mpdeglau posted, those XML files are used by Intellisense to provide descriptions of your properties, methods and arguments. You can also use a tool like NDoc to create MSDN-style CHM documentation for your classes from those files.
-
Apr 10th, 2006, 01:12 AM
#4
Fanatic Member
Re: Documentation, Explanation and Annotation of Program Code
Also if you type ''' you get this
VB Code:
''' <summary>
'''
''' </summary>
''' <param name="sender"></param>
''' <param name="e"></param>
''' <remarks></remarks>
Is this feature available in VS .NET 2003? If not how can I do this?
Thanks
Using VB.NET 2003/.NET 1.1/C# 2.0
http://del.icio.us/rajoo
Blow your mind, smoke gunpowder
Ashes to ashes, dust to dust
If God won't have you, the devil will. - Author unknown
Don't follow me, I'm lost too ...
-
Apr 10th, 2006, 01:23 AM
#5
Re: Documentation, Explanation and Annotation of Program Code
Here is an addin for VS that lets you use XML comments in VB.NET 2003.
http://www.gotdotnet.com/workspaces/...a-86bdf39a17dd
-
Apr 10th, 2006, 01:30 AM
#6
Fanatic Member
Re: Documentation, Explanation and Annotation of Program Code
I googled after my posting and found VBCommenter PowerToy Development VBCommenter PowerToy Development
Using VB.NET 2003/.NET 1.1/C# 2.0
http://del.icio.us/rajoo
Blow your mind, smoke gunpowder
Ashes to ashes, dust to dust
If God won't have you, the devil will. - Author unknown
Don't follow me, I'm lost too ...
-
Apr 10th, 2006, 03:09 AM
#7
Thread Starter
Addicted Member
Re: Documentation, Explanation and Annotation of Program Code
Thanks Guys - as I am using VS 2005 the inbuild ''' works just fine for me
-
Apr 10th, 2006, 11:54 AM
#8
Fanatic Member
Re: [RESOLVED] Documentation, Explanation and Annotation of Program Code
Here is an addin for VS that lets you use XML comments in VB.NET 2003.
Thanks Penagate.
Using VB.NET 2003/.NET 1.1/C# 2.0
http://del.icio.us/rajoo
Blow your mind, smoke gunpowder
Ashes to ashes, dust to dust
If God won't have you, the devil will. - Author unknown
Don't follow me, I'm lost too ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|