How to increase font size in the Xcode editor?

Viewed 196184

To increase font-size in Xcode is a pain.

22 Answers

I used cmd+ and it worked well to increase.. Same for decreasing cmq-

I found that in the Preferences, there is no fonts and colors selection. Guess the version is different, following is the one that works for the latest version.

Method 1

enter image description here

  • Go to Xcode -> Preferences
  • Click Themes
  • Click the T symbol in the middle of the font
  • Adjust the size at the bottom right corner

Method 2

Simply adjust with cmd + or cmd -

For Xcode Version 12.3 and above (not sure if it works for a little old versions, but you can give it a try)

Xcode

-> Preferences -> Themes 
-> Select your favourite theme on left panel 
-> SourceEditor 
-> Select All (`cmd + A`) 
-> Click on T option 
-> Select size

enter image description here

For XCODE 13 +

In newest version of Editor (currently Xcode 13) Just press "cmd" + "+" for increasing text size. For decresing text size press "cmd" + "-" . It is as simple as that. Apart from that you can specify text size /font/color for each category in Xcode Preferences -> Themes.

All previous answers focus on what was possible: change the font size of the editor and debug area. But if you're sharing your screen navigators (File Navigators, etc.) are still tiny. You can change the size now to three presets in Settings > General > Navigator Size.

This will make your files and folders more readable while presenting.

Settings > General > Navigator Size, Large is selected

For Xcode 12: (beta 3)

For the code editing windows, use the new

Editor -> Font Size -> Increase

or

Editor -> Font Size -> Decrease

menu items. This globally increases or decreases the font sizes for all editing windows. There is also an

Editor -> Font Size -> Reset

option. These also respond to the ⌘+ or ⌘- keyboard shortcuts.

By default, the file navigator on the left side corresponds to the

System Preferences -> General -> Sidebar icon size

You can also override the system size inside Xcode using the

Xcode -> Preferences -> General -> Navigator Size

for Xocde 12.0 beta 5:

preferences > Themes > at the bottom you will see the font family.

preview

  1. Press "Command" + "+" for increasing text size.
  2. Press "Command" + "-" For decreasing text size.

With Xcode 13 you can also adjust the

Navigator font size

inside the Preferences panel:

Xcode 13 -> Preferences -> General -> Navigator Size

By default, it matches the system font scale, but you can override the settings and choose one of three different options: "Small", "Medium" or "Large".

enter image description here

Credits: Artem M

Related