Mine is the same as this also. I would like the remarks tab to automatically be there also. Try the /// [Enter] at the class level and at a property level (that has either a get or a get and set) and you will see what I mean.
Shawn Hevel, API, AIT Lead Programmer Analyst Information Technology Department South Carolina Farm Bureau Insurance Companies Phone: (803) 936-4331 Fax: (803) 936-4629 Work Email: [EMAIL PROTECTED] Home Email: [EMAIL PROTECTED] -----Original Message----- From: Vince P [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 11:43 AM To: [email protected] Subject: Re: [ADVANCED-DOTNET] C# XML Commenting Using Visual Studio 2005, C# My method's signature is this: private int GetExplorerImageIndex(string groupKey) When I typed ///[Enter] about it, the following was generated: /// <summary> /// /// </summary> /// <param name="groupKey"></param> /// <returns></returns> -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Hevel, Shawn Sent: Monday, January 30, 2006 10:06 AM To: [email protected] Subject: Re: [ADVANCED-DOTNET] C# XML Commenting One thing I don't understand about the XML commenting is in C# when you type the /// you get only the summary tag. In VB when you type the ''' you get the summary, value, returns and remarks tag. Why is there a difference? There has got to be a way to override the defaults for the /// instead of writing snippets. Any other ideas here? Shawn Hevel, API, AIT Lead Programmer Analyst Information Technology Department South Carolina Farm Bureau Insurance Companies Phone: (803) 936-4331 Fax: (803) 936-4629 Work Email: [EMAIL PROTECTED] Home Email: [EMAIL PROTECTED] -----Original Message----- From: Hevel, Shawn [mailto:[EMAIL PROTECTED] Sent: Thursday, January 26, 2006 4:10 PM To: [email protected] Subject: Re: [ADVANCED-DOTNET] C# XML Commenting That is what I figured but I didn't want to miss something else. We've already discovered the snippets and wrote some new ones. They are pretty cool. Thanks for the advice. Shawn Hevel, API, AIT Lead Programmer Analyst Information Technology Department South Carolina Farm Bureau Insurance Companies Phone: (803) 936-4331 Fax: (803) 936-4629 Work Email: [EMAIL PROTECTED] Home Email: [EMAIL PROTECTED] -----Original Message----- From: Ivanoff, Alex [mailto:[EMAIL PROTECTED] Sent: Thursday, January 26, 2006 3:33 PM To: [email protected] Subject: Re: [ADVANCED-DOTNET] C# XML Commenting If it is 2005, you can use code snippets. -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Hevel, Shawn Sent: Thursday, January 26, 2006 14:26 To: [email protected] Subject: [ADVANCED-DOTNET] C# XML Commenting I've got a question about comment our C# code. Is there a way to override the default options for commenting? On methods when you type the /// you get the following: /// <summary> /// ///</summary> We would like for it to be: /// <summary> /// ///</summary> ///<remarks></remarks> We've added the remarks section automatically. Has anyone ever done anything like this or have an idea of a work around to make it happen? Thanks. Shawn Hevel, API, AIT Lead Programmer Analyst Information Technology Department South Carolina Farm Bureau Insurance Companies Phone: (803) 936-4331 Fax: (803) 936-4629 Work Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Home Email: [EMAIL PROTECTED] =================================== This list is hosted by DevelopMentorR http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorR http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
