visual-studio 更改字体大小的快捷方式
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/898964/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Shortcut for changing font size
提问by Gerardo Contijoch
Does anybody know if there is a shortcut or something similar for changing the font size in the text editor in Visual Studio 2008?
有谁知道是否有快捷方式或类似的东西可以在 Visual Studio 2008 的文本编辑器中更改字体大小?
What I mean is something like Ctrl + mouse wheel like in Firefox.
我的意思是类似于 Firefox 中的 Ctrl + 鼠标滚轮。
Accessing the Options window and then selecting Environment > Fonts and Colors is fine if you don't have to change the font size all the time, but in my case, I would like to be able to change it depending on what I am doing (writing and reading code or just reading it).
如果您不必一直更改字体大小,则访问“选项”窗口然后选择“环境”>“字体和颜色”就可以了,但就我而言,我希望能够根据我正在做的事情来更改它(编写和阅读代码或只是阅读它)。
I guess I could create two almost identical settings files and import them whenever I want, but that is even slower.
我想我可以创建两个几乎相同的设置文件并在需要时导入它们,但这甚至更慢。
采纳答案by Martin Harris
In the Macros explorer under samples/accessibility there is an IncreaseTextEditorFontSize and a DecreaseTextEditorFontSize. Bind those to some keyboard shortcuts.
在示例/辅助功能下的宏资源管理器中,有一个增加文本编辑器字体大小和一个减少文本编辑器字体大小。将它们绑定到一些键盘快捷键。
回答by BornToCode
You'll probably find these shortcuts useful:
您可能会发现这些快捷方式很有用:
Ctrl+Shift+.to zoom in.
Ctrl+ Shift+.放大。
Ctrl+Shift+,to zoom out.
Ctrl+ Shift+,缩小。
Those characters are period and comma, respectively.
这些字符分别是句号和逗号。
回答by Sentient
Ctrl + MouseWheel on active editor.
Ctrl + MouseWheel 在活动编辑器上。
回答by Ash
Ctrl + MouseWheel works on almost anything...not just visual studio
Ctrl + MouseWheel 几乎适用于任何东西......不仅仅是visual studio
回答by Nitin Kadam
Use : Tools in Menu -> Options -> Environment -> Fonts and Colors
使用:菜单中的工具 -> 选项 -> 环境 -> 字体和颜色
回答by HO LI Pin
回答by jmart
Ctrl + Alt+ MouseWheel will work in Visual Studio 2015.
Ctrl + Alt+ MouseWheel 将在 Visual Studio 2015 中工作。
回答by Gagandeep Singh
回答by Jay Bazuzi
Be sure to check out the VS 2010 Betathat was just released. The new editor should have this.
请务必查看刚刚发布的VS 2010 Beta。新编辑器应该有这个。
回答by mpalencia
This worked for me:
这对我有用:
Ctrl+ -to minimize
Ctrl+ -最小化
Ctrl+ +to maximize
Ctrl+ +最大化


