Turn Off the Uppercase Menu in Visual Studio 2012

Tips Search

Turn Off the Uppercase Menu in Visual Studio 2012

  • Comments 41

I’ve been seeing a ton of posts lately on this feature so thought I would share here as well.  I also like to give credit where credit is due so I did a search and it looks like the earliest mention of this ability is by Richard Banks in his post 6\1\2012 here:  http://www.richard-banks.org/2012/06/how-to-prevent-visual-studio-2012-all.html  If anyone knows of an earlier one done by someone else let me know but this looks like the first mention of it.  If I were a betting man I would say he most likely used Process Explorer to make this discovery which is my favorite tool for finding things like this.

 

 

Mixed Case is Your Friend

Okay so you really, really don’t like the Uppercase menu in VS2012 because you feel like it is shouting at you:

image

 

 

You would rather go back to mixed case for your menu:

image

 

 

 

Not a problem! Let’s see how:

WARNING:  Making changes to the registry can cause unexpected results so do any changes at your own risk!

 

Manual Registry Change

Open the registry editor and go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General\
(For Windows 8 Desktop Express go to HKCU\Software\Microsoft\WDExpress\11.0\General) //special thanks to msm8bball for the update
(For Web Express go to HKEY_CURRENT_USER\Software\Microsoft\VSWDExpress\11.0\General)



  1. Create a new DWORD value called SuppressUppercaseConversion set to 1
    image
  2. Restart Visual Studio and you should see the change

NOTE: Watch your spelling if you are typing this manually.

 

 

PowerShell Goodness

If you like to “simplify” this a bit you can use PowerShell to run a nice script to make this happen.  However, if you haven’t used PowerShell before this may not be faster for you.

  1. Go to the Start button and type powershell and select the Windows PowerShell Entry:
    image
  2. In the PowerShell window copy the script below and paste it in then press Enter:
    Set-ItemProperty -Path HKCU:\Software\Microsoft\VisualStudio\11.0\General -Name SuppressUppercaseConversion -Type DWord -Value 1

    image
  3. Restart Visual Studio and enjoy!
  • Awesome!!!!  Thanks for posting this Zain.  (I can now rest peacfully without seeing yelling menus floating in my head!)

    Bill

  • Yeah I know what you mean :)  

    To be fair the team has recognized this is an issue and has announced they will provide some mechanism to do this inside VS.  Most likely it will be a setting in Tools | Options somewhere.  Here are the exact words:

    "[...W]e will enable you to customize the casing, and we are exploring options for how to expose that choice. We will post again once we’ve settled on a final approach to be available in RTM."

    blogs.msdn.com/.../a-design-with-all-caps.aspx

    Z

  • This NuGet package by Xavier Decoster makes it super-easy by permanently installs the Enable-AllCaps and Disable-AllCaps cmdlets into the NuGet PowerShell profile.

    nuget.org/.../VS2012.RemoveAllCaps

    There isn't a lot of documentation on it.  You'll need to open a solution (or else the package manager wont let you install the package.  Once it's installed the cmdlets work as advertised.  You do need to restart VS for it to take effect.

  • no, he used ProcessMonitor, as you can track your Registry there...

  • Both great tools from Sysinternals :)

    technet.microsoft.com/.../bb545021

  • just tried the PowerShell option - worked great, no problems - many thanks!

  • This regedit was mentioned at Tech Ed this week but not the exact details...thanks for this!

  • As far as I know I was the first to find it, and yes it was procmon that was my weapon of choice :-)

  • You rock Richard! :)

    Great find man.

    Z

  • The next UPPERCASE BATTLEGROUND will be in the OFFICE SUITE.

    This idiotic switch to UPPERCASE is obviously an obsession for someone high up in the MS food chain.

  • I love it!

    @Zainnab: Why not make the mixed case the default and then if (a very few) people really want the uppercase mode, THEN they can go in menus and change it. And this grayness environment.... is so dull; the purple color in VS2010 was awesome, full of energy.  

  • Hey Sylvain :)

    I'm not sure what the crack smo...er...design professionals were thinking when they made upper case the default but at least it can be changed.  Yeah I miss the color but, to be honest, it really does make me focus more on the middle (code) area more so I am kind of digging it now.

    Z

  • There is even easier way without hacking registry.

    Just use this extension visualstudiogallery.msdn.microsoft.com/a83505c6-77b3-44a6-b53b-73d77cba84c8

    and you can have it all lower case, sentence case or even completely gone!

  • Michail,

    VSCommands is a paid extension.  I normally don't let advertisements on this blog; however, I think the extension you mention has merit so I let it through this time.  While I personally haven't used the extension I like the feature set listed and encourage others to write extensions (paid or not) to strengthen the VS ecosystem.

    Z

  • Great solution. It seems hard to imagine anything easier than adding a single key to the registry.

    I have looked at the intersection of the set of Visual Studio users, and the set of people who haven't altered their registry. It was an empty set. This is not hacking. This is using your computer.

Page 1 of 3 (41 items) 123
Leave a Comment
  • Please add 4 and 4 and type the answer here:
  • Post