Changing the default control naming convention used by Visual Studio
-
I've searched the net and here to no avail. I didn't even see it asked before which seems unlikely. I'm having a "bad search day" perhaps? I would like VS (2005 or 2008 - have them both) to, upon creating a new control, not use label1 or textBox1 for instance, but instead lbl1 and tBox1. I don't want to start a naming convention discussion as I know there are many different views on this topic! Does anyone know if this can be done. I suppose it is baked in to the IDE. . . . Thanks, Kent
-
I've searched the net and here to no avail. I didn't even see it asked before which seems unlikely. I'm having a "bad search day" perhaps? I would like VS (2005 or 2008 - have them both) to, upon creating a new control, not use label1 or textBox1 for instance, but instead lbl1 and tBox1. I don't want to start a naming convention discussion as I know there are many different views on this topic! Does anyone know if this can be done. I suppose it is baked in to the IDE. . . . Thanks, Kent
I don't believe that it is possible with extending the Visual Studio environment. However, that is an excellent idea :).
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]
-
I've searched the net and here to no avail. I didn't even see it asked before which seems unlikely. I'm having a "bad search day" perhaps? I would like VS (2005 or 2008 - have them both) to, upon creating a new control, not use label1 or textBox1 for instance, but instead lbl1 and tBox1. I don't want to start a naming convention discussion as I know there are many different views on this topic! Does anyone know if this can be done. I suppose it is baked in to the IDE. . . . Thanks, Kent
The name is based on the name of the Class, so no - not unless you want to re-compile .Net from source... if you can even do that.
"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.