Linda Keating
Linda Keating

Reputation: 2425

How to zoom in Xcode on a code window

How do you zoom in to see code better in xcode. I'm looking for a shortcut, and not to change the projects display preferences. Also using CTRL + two fingers on mouse is not suitable as I'm using a multi-monitor set up and that zooms both monitors. I only want to zoom in on the code text. I found another solution here that allows zooming on the storyboard : Storyboard Zoom In/Out Keyboard Shortcut but this doesn't work on any of the code files.

Any ideas?

Upvotes: 29

Views: 44222

Answers (8)

Luciano Rodríguez
Luciano Rodríguez

Reputation: 2309

For Xcode 9 and above:

  • Use Cmd + + to increase text size
  • Use Cmd + - to decrease text size

Upvotes: 43

Reşit Şahin
Reşit Şahin

Reputation: 39

Go to system settings, keyboard, keyboard shortcuts,app shortcuts

There write menu name as Increase and select what ever shortcut you want to use

Upvotes: 0

fthdgn
fthdgn

Reputation: 1527

On my machine (Xcode 14.2, macOS 13.2.1, Turkish-Q keyboard) the shortcuts to change font size is like that:

To increase: ⌘:

To decrease: ⌘-

You can see the shortcuts by navigating:

  • Menu bar
  • Editor
  • Font Size [somewhere on the middle]

Upvotes: 10

KLwork
KLwork

Reputation: 1

Option (⌥ alt) + mouse scroll wheel works for Xcode13.2.1 on mac to zoom in/out in the storyboard.

Upvotes: 0

Paulo Cardoso
Paulo Cardoso

Reputation: 21

Click two times on the screen and drag left or right

Upvotes: 2

Carolina
Carolina

Reputation: 21

In Xcode 7.2 you can change the font size and colors on Xcode menu (preferences).

Upvotes: 1

Pham Duoc
Pham Duoc

Reputation: 330

I'm using xcode 7:
1. Xcode menu-> Preferences.
2. Choose the tab Fonts & Colors.
3. Choose theme on the left side.
4. On the right side cmd+A to choose all type of source.
5. In font field, click to T icon.
6. Choose a font size that you want to set.

Upvotes: 23

Linda Keating
Linda Keating

Reputation: 2425

I needed to install a plugin to have the functionality - This is the plugin https://github.com/zats/AdjustFontSize-Xcode-Plugin

Upvotes: 14

Related Questions