Sublime Text 2 - 如何更改输出面板的字体大小? [英] Sublime Text 2 - How to change the font size of the output panel?
问题描述
当我更改 Sublime Text 2 中的字体大小(通过快捷方式/配置)时,输出面板 AKA Build Results 中文本的字体大小也会发生变化.
When I change the font size in Sublime Text 2 (via shortcuts / config), the font size of text in output panel AKA Build Results is changed too.
将这些字体大小分开会很方便.我试图跟随 &适应Sublime Text 2 如何改变文件侧边栏的字体大小?并编辑<主题名称>.崇高主题
:
It would be convenient to have these font sizes separated. I tried to follow & adapt Sublime Text 2 how to change the font size of the file sidebar? and edited <theme name>.sublime-theme
:
{
"class": "output.exec",
//"class": "output",
//"class": "output_exec",
//"class": "exec",
//"parents": [{"class": "output"}],
"font.size": 7.0
},
输出面板被命名为output.exec
,但它不起作用.我尝试过的其他一些选项被注释掉了.
Output panel is named output.exec
, but it doesn't work. Some other options I tried are commented out.
可能我只需要正确的 class
名称.我无法找到 ST2 中使用的课程列表.
Probably I just need correct class
name. I'm unable to find class list which are used in ST2.
是否有可能,如果有 - 如何更改字体大小?
Is it possible and if yes - how to change the font size?
它已经在愿望清单上:http://sublimetext.userecho.com/topic/27388-set-font-size-per-pane/
推荐答案
是的,你可以,但是这也会改变 console panel
的字体大小,所以如果这不打扰然后你只需这样做:
Yes you can, this will however change the font-size for the console panel
as well, so if that doesn't bother you then simply do this:
首先在Packages\User
目录下创建一个名为Widget.sublime-settings
的文件.
First create a file named Widget.sublime-settings
under the Packages\User
directory.
然后在该文件中写入以下内容:
Second write the following in that file:
{
"font_size": 7
}
现在你可以走了!
这篇关于Sublime Text 2 - 如何更改输出面板的字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!