John_H_Bergman
Tomato Guru
USA
198 Posts |
Posted - Jan 21 2004 : 12:31:58 AM
|
Here is what I would like to see... (My language of choice is C#).
string strName;
or
string strName="some string";
I'd like to highlight the 'string strName' and have the following happen upon command.
private string m_strName="some string";
public string Name { get { return this.m_strName; } set { this.m_strName=value; } }
I have changed the text to red where Items are added into the code. (Purple was the extra stuff on the line highlighted) Of course, one is always welcome to add the XmlComment header for the property as well
Ideally, this would be implemented as an expansion on the autotext, so that I could customize what exactly gets inserted.
What do you think? Properties are used everywhere in .net code, this could be useful. |
John H. Bergman CTO SiliconZone
[email protected]
To Send email, remove the .online. |
|