Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does /// create an XML Comment Template?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00784717
Message ID:
00805533
Vues:
18
Hi Cathi -

Using VS .NET 2003 and MM .NET 1.0

Ran into this again, I check the setting in Tools/Options/Text Editing/C#/Formatting and Smart Comment Editing is definitely checked.

I am trying to insert a comment using /// in the following code :
namespace Acme.OrderSystem.Business
{
	/// <summary>
	/// Summary description for Orders.
	/// </summary>
	public class Orders : ABusinessObject 
	{
		public Orders()
		{
			this.TableName = "Orders";
			this.PrimaryKey = "OrderID";
		}

		public GetDataSet GetOrdersByCustomerID(string customerID)
		{
			return this.GetDataSet("SELECT * From Oders WHERE CustomerID = '"+ customerID + "'");
		}

	}
}
before the second to last } and typing /// gets me nothing

Fish out of water floundering here.

Suggestions?

TIA

Charles


>Charles,
>
>I'm glad you were able to get the comments to appear.
>
>The online help provides a fair amount of information about using Intellisense. Here is the link:
>
>ms-help://MS.VSCC/MS.MSDNVS/vsintro7/html/vcovrAutomaticStatementCompletion.htm
>
>As far as a C# Editor, I haven't used any on a regular basis to recommend one. Maybe others can give you their opinions based on their experience.
>
>>Thanks, Cathi -
>>
>>Seems it was off by default in 2002 and on by default in 2003.
>>
>>Is there documentation someplace about intellisensish editor commands in C#, and is there an add in C# Editor you would recommend. I just downloaded Antechinus. Any thoughts on this?
>>
>>TIA
>>
>>Charles
>>
>>
>>>Hi Charles,
>>>
>>>What Kevin wrote will work but you need to make sure you have "smart comments" turned on. To do this, go to the Tools/Options menu item. Then choose Text Editor/C#/Formatting from the tree on the left side of the Options dialog. Then make sure "Smart comment editing" is checked. This will enable the use of /// to trigger the XML Comment template.
>>>
>>>>Kevin's MM .net jumpstart docs says
>>>>
>>>>"Next, type three forward slashes (///). The C# editor automatically inserts an XML Comment template above your method definition:"
>>>>
>>>>I get nothing.
>>>>
>>>>Is there some setting I should check, another key I need to hit in conjunction with this or .... ?
>>>>
>>>>TIA


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform