How do you change the font face Sublime uses for the sidebar?

杀马特。学长 韩版系。学妹 提交于 2019-12-11 16:25:18

问题


Is this even possible in Sublime Text 2?

Since the default preferences says:

// The theme controls the look of Sublime Text's UI (buttons, tabs, scroll bars, etc) "theme": "Default.sublime-theme",

I tried modifying that file

(under /Data/Packages/Theme - Default/Default.sublime-theme)

by adding this line:

{
    "class": "sidebar_label"
    , "color": [0, 0, 0]
    , "font.bold": false
    , "shadow_color": [250, 250, 250], "shadow_offset": [0, 0]
    , "font.face": "monospace" // ADDED THIS LINE ("monofur" is the monospace font I use in the editor window itself)
}

But that simply causes all file and folder names in the sidebar to become blank.

Changing the other line to "font.bold" = true does cause all the names to become bold, so... ?????

来源:https://stackoverflow.com/questions/24337160/how-do-you-change-the-font-face-sublime-uses-for-the-sidebar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!