Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Changing the default control naming convention used by Visual Studio

Changing the default control naming convention used by Visual Studio

Scheduled Pinned Locked Moved Visual Studio
visual-studiocsharpquestiondiscussion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kent K
    wrote on last edited by
    #1

    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

    T J 2 Replies Last reply
    0
    • K Kent K

      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

      T Offline
      T Offline
      Thomas Stockwell
      wrote on last edited by
      #2

      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[^]

      1 Reply Last reply
      0
      • K Kent K

        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

        J Offline
        J Offline
        Jasmine2501
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups