How to increase font size in the Xcode editor?

后端 未结 17 1877
谎友^
谎友^ 2020-11-29 16:59

To increase font-size in Xcode is a pain.

相关标签:
17条回答
  • 2020-11-29 17:52

    When changing fonts in XCode from [Preferences] (after duplicating a template that matches colours close to what you want), you can select multiple entries and change the fonts all at once. Use [shift] to select a range or [cmd] to select multiple individual entries (e.g. you might select both 'comments' and 'strings' and change only their fonts).

    Steve

    0 讨论(0)
  • 2020-11-29 17:54

    You can use this plugin to change the font size using ⌘ + or ⌘ - (Control - and Control + in the latest versions of Xcode. The plugin developers changed the shortcut to avoid conflict with Interface Builder hotkeys):

    https://github.com/zats/AdjustFontSize-Xcode-Plugin

    0 讨论(0)
  • 2020-11-29 17:55
    1. Go to XCode > Preferences > Fonts & Color
    2. Double click on a font entry to get the Font inspector window
    3. Select all font entries with sizes you'd like to increase/decrease
    4. In the Font inspector window select the same font (e.g. All Fonts > Menlo > Regular > 14)

    Watch out because there's no undo!

    0 讨论(0)
  • 2020-11-29 17:58

    Easisest solution:

    1. Close any open projects.

    2. Xcode > Preferences > Font & Colors

    3. Make sure to press CMD+A to select all possible text types. Then change the font size from the picker.

    enter image description here

    0 讨论(0)
  • 2020-11-29 17:59

    You can use the following:

    1. Press xcode->preferences
    2. select fonts and colors
    3. select ANY font in the list and press cmd+a (select all fonts)
    4. select font size for all editor fonts at the bottom of the window
    0 讨论(0)
提交回复
热议问题