虽然我已经尝试修改了"Theme-Default“包中的"Label_control”和"sidebar_control“类中的"font.size”,但编辑器的字体大小根本不变。sublime text3有什么不同吗?
发布于 2013-12-20 02:50:36
导航到Sublime Text>Preferences>Browse Packages。您应该会看到一个文件树。
在Packages文件夹中,您应该看到
主题-默认>Default.sublime-主题(用Default代替你的主题名称)
打开该文件,找到“类”:"sidebar_label: entry“并添加"font.size”。
示例:
{
"class": "sidebar_label",
"color": [0, 0, 0],
"font.bold": false,
"font.size": 14
},
发布于 2018-10-31 20:48:51
我用的是Sublime Text 3.2.1,一个4k显示屏和一台Mac。使用默认ST3设置时,选项卡标题和侧边栏很难阅读。我使用菜单Sublime Text -> Preferences -> Settings,这将打开两个文件: Preferences.sublime-settings--Default和Preferences.sublime-settings--User。
您只能编辑用户文件。默认文件可用于显示您可以设置的变量。默认文件的第350行附近有两个变量,如下所示:
// Magnifies the entire user interface. Sublime Text must be restarted for
// this to take effect.
"ui_scale": 1.0,
// Linux only. Sets the app DPI scale - a decimal number such as 1.0, 1.5,
// 2.0, etc. A value of 0 auto-detects the DPI scale. Sublime Text must be
// restarted for this to take effect.
"dpi_scale": 0,
在我的苹果电脑上,"dpi_scale": 3.0
什么也没做,"ui_scale": 1.5
运行得很好。以下是我的用户文件。
{
"dictionary": "Packages/Language - English/en_US.dic",
"font_size": 17,
"ignored_packages":
[
"Vintage"
],
"theme": "Default.sublime-theme",
"ui_scale": 1.5
}
发布于 2016-08-01 16:17:02
要更改字体名称,请使用
"font.face": "Liberation Mono"
在这个文件中,在我使用ST3的情况下。ST3主题
https://stackoverflow.com/questions/18288870
复制相似问题