如何在Visual Studio中禁用所有大写菜单标题

本文翻译自:How to disable all caps menu titles in Visual Studio

I assume the title is self explanatory. 我认为标题是自我解释的。 Just want to change the look of the Visual Studio 2012 not to show menu title in all capital letters. 只想更改Visual Studio 2012的外观,不要以全部大写字母显示菜单标题。


#1楼

参考:https://stackoom.com/question/jYxx/如何在Visual-Studio中禁用所有大写菜单标题


#2楼

Richard Banks posted about a registry key for just such a tweak. 理查德班克斯发布了关于这样一个调整的注册表密钥。

Visual Studio 2012 (Full) Visual Studio 2012(完整版)

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General
DWORD: SuppressUppercaseConversion
Value: 1

In PowerShell, you can run this to set that registry key and the uppercase goes away. 在PowerShell中,您可以运行此命令来设置该注册表项,并且大写字母消失。

Set-ItemProperty -Path HKCU:\Software\Microsoft\VisualStudio\11.0\General -Name SuppressUppercaseConversion -Type DWord -Value 1

Visual Studio Express 2012 Visual Studio Express 2012

The above registry key is not the one that will affect Visual Studio Express 2012 RC. 上述注册表项不会影响Visual Studio Express 2012 RC。 A comment by FormatC showed up on Banks post about the key for Express. FormatC评论出现在Banks关于Express的关键字的帖子上。 You can find that key mentioned in Mike Gleason's answer or run the following PowerShell command to set it. 您可以在Mike Gleason的答案中找到该密钥,或运行以下PowerShell命令进行设置。

Set-ItemProperty -Path HKCU:\Software\Microsoft\VSWinExpress\11.0\General -Name SuppressUppercaseConversion -Type DWord -Value 1

Visual Studio Express 2012 for Web Visual Studio Express 2012 for Web

Set-ItemProperty -Path HKCU:\Software\Microsoft\VWDExpress\11.0\General -Name SuppressUppercaseConversion -Type DWord -Value 1

Visual Studio 2013 Visual Studio 2013

Replace 11.0 with 12.0 in the registry keys above. 在上面的注册表项中将11.0替换为12.0

Visual Studio 2015 Developer Preview Visual Studio 2015开发人员预览版

Replace 11.0 with 14.0 in the registry keys above. 在上面的注册表项中将11.0替换为14.0


#3楼

For express use: 用于快递:

HKEY_CURRENT_USER\Software\Microsoft\VSWinExpress\11.0\GeneralSuppressUppercaseConversion 

Credit to FormatC 归功于FormatC


#4楼

I have written an extension which will do this for you. 我已经写了一个扩展,它会为你做这个。

You can download it from the Visual Studio Gallery: 您可以从Visual Studio库下载它:

It can also hide main menu altogether and have it appear only on mouse over or alt key press (like in IE) 它也可以完全隐藏主菜单,只在鼠标悬停或alt键上显示(如在IE中)

在此输入图像描述在此输入图像描述在此输入图像描述

在此输入图像描述


#5楼

I have been using the following reg files to enable/disable the lowercasing in Visual Studio 2012 and Visual Studio 2013: 我一直在使用以下reg文件来启用/禁用Visual Studio 2012和Visual Studio 2013中的小写:

http://erwinmayer.com/dl/VS2012_ALLCAPS_Toggle.zip http://erwinmayer.com/dl/VS2013_ALLCAPS_Toggle.zip http://erwinmayer.com/dl/VS2012_ALLCAPS_Toggle.zip http://erwinmayer.com/dl/VS2013_ALLCAPS_Toggle.zip

Just double click on VS201x_ALLCAPS_Disable.reg inside the archive to disable all caps menu titles, and VS201x_ALLCAPS_Enable.reg to re-enable them. 只需双击存档中的VS201x_ALLCAPS_Disable.reg即可禁用所有大写菜单标题,并VS201x_ALLCAPS_Enable.reg以重新启用它们。

You can easily edit the reg files before with a text editor to see what they contain. 您可以使用文本编辑器轻松编辑reg文件,以查看它们包含的内容。


#6楼

And for 并为

Visual Studio Express 2012 for Windows Desktop 适用于Windows桌面的Visual Studio Express 2012

HKEY_CURRENT_USER\Software\Microsoft\WDExpress\11.0\General
DWORD: SuppressUppercaseConversion
Value: 1

I guess the reason MS omitted any mention of Visual Studio from the keyname is that such a mention might help someone identify the key :) 我想MS之所以从键名中省略任何提及Visual Studio的原因是这样的提及可能有助于某人识别密钥:)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值