Search code examples
xcodexcode8

Current line text font size gets increased while typing in Xcode


While I am typing on a specific line in workspace, the text present in the particular line's font is getting increased ! And it gets to regular size as soon as I stop typing.

I also upgraded to XCode 8.2 still the same issue occurs.

FYI: I have also tried the following code to reset the XCode default settings, but still no use.

defaults delete com.apple.dt.Xcode


Solution

  • Solution:

    enter image description here

    This happens when you change font size for one particular element but the other editor's elements are using the previous/default font size.

    If you want to change the font size either press cmd + or in preferences -> Fonts and Colors choose your theme and in the right pane select all the elements (press cmd a) and then change the font size.

    See this SO answer