Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to zoom in Xcode on a code window

Tags:

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?

like image 821
Linda Keating Avatar asked Sep 12 '14 13:09

Linda Keating


People also ask

How do you zoom in XCode storyboard?

You can zoom the storyboard by double-click canvas or using top-menu(Editor > Canvas > Zoom).


2 Answers

For XCode 9 and above:

  • Use Cmd + + to increase text size
  • Use Cmd + - to decrease text size
like image 163
Luciano Rodríguez Avatar answered Sep 30 '22 08:09

Luciano Rodríguez


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.

like image 31
Pham Duoc Avatar answered Sep 30 '22 08:09

Pham Duoc