I would like to increase the font size of the left side bar in Sublime Text 3. I can't seem to find a good way to do this. I am using the default theme, and am on Mac.
Does anyone have a suggestion? I don't want to install a custom theme, but would just like to increase the font size of the side bar.
Thanks!
Navigate to Sublime Text>Preferences>Browse Packages. You should see a file tree. Open that file and find the "class": "sidebar_label: entry and add "font. size".
It's actually command-plus and command-minus, but you're right, it has a keyboard shortcut. I never noticed the menu item under Sublime Text 2 > Preferences > Font > Larger/Smaller, probably because I was looking for other terms like Bigger or Shrink.
Use the Preferences > Browse Packages menu shortcut and see that in the Color Schemes folder you will have a Monokai. tmTheme file. Open and edit this file to make some text look italic. For your desired effect, you would choose bold instead of italics for the fontStyle string.
Press ctrl + to increase font and ctrl shift + to decrease font size.
You will need to edit the .sublime-theme
file to do this. Unfortunately, in Sublime Text 3 this file is contained in a zipped .sublime-package
file, so you'll need to extract that first. Install the PackageResourceViewer
plugin via Package Control, then hit ⌘ShiftP and type prv
to bring up the PackageResourceViewer options. Select Open Resource
, scroll down to Theme - Default
, hit Enter, scroll down to Default.sublime-theme
, and hit Enter again to open it.
Next, search for sidebar_label
and modify the first one (on line 362) to look like this (it needs to be valid JSON):
{
"class": "sidebar_label",
"color": [0, 0, 0],
"font.bold": false,
"font.italic": false, // <-- add comma
"font.size": 14 // <-- new line
// , "shadow_color": [250, 250, 250], "shadow_offset": [0, 0]
},
Save the file, and you should see the sidebar font size change. You can change 14
to whatever size you want, depending on your personal preferences.
Thanks for this, just to add that, with sublime text 3 at least, i needed to modify the theme I use. e.g. Flatland Dark.sublime-theme
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With