Increasing the font size in XCode documentation window - xcode

I had some problems doing this but one way of doing this is listed below.

The given answer didn't work for me in Xcode 4.1.
However, Xcode->Preferences->Documentation->Never Use use font sizes smaller than 'x' is a workaround.
Edit: moved slightly in the newest Xcode (4.6.2). Now Xcode->Preferences->Downloads->Documentation->Never use font sizes smaller than: 'x'.

on Xcode 4.3(still beta):
go to preferences -> downloads
choose documentation
at the bottom mark: Never use font sizes smaller than: __ (choose your size)

Xcode menu bar,select Editor->Zoom in.

In XCode on the menu bar, select EDIT-> FORMAT -> FONT -> BIGGER

Related

How to set default font size in codeblocks?

I just started using code::blocks editor and found that its default font size is smaller to me.Whenever I open it I have to manually resize the font by settings -> editor -> choose. What is the way that I make my chosen font size default?
Please don't mark it duplicate or spam as I've checked everywhere to set as default font size but can't find an answer.
There is no shortcut by default, but a menu-entry (a little bit hidden).
GOTO:-
"Edit -> Special Commands -> Zoom -> Reset"
Also, you can assign "any_shortcut" to the menu-entry on the system (using Keybinder-plugin, if you want to).
Hope it helped :)

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:
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
I had a similar problem but I am not sure is exactly the same.
Did you try to change this settings?
Xcode preferences > Fonts & Colors Your chosen theme will have a
"current line" option just under the font. Can't remember exactly but
I think you can find something there.

Increase error font size in XCode

Is it possible to make these tiny messages larger? I didn't find it preferences.
It is indeed: head over to Xcode - Preferences and find the Fonts and Colors section. Switch to the Console Tab and select an option you want to change (typically Executable Console Output and Debugger Console Output appear in the debugger).
Now click the tiny little T icon at the bottom and change the font to something more palatable. The default font is Menlo 11.
Alternatively you can switch to either of the Presentation presets, which will increase the font size for the debugger and your code font (good for screencasts).
It appears that the font size of the tiny red error messages is governed by the space available: if you make the default font size larger (or the size of any of the elements on that line), the error message will expand to fit.
An alternative is to show the issue navigator on the left, which has larger type, especially if you fiddle around in the preferences and allow more than 3 lines per entry, or whatever the default setting is.

Line height in Xcode

How do I increase the distance between the lines in Xcode?
I mean in the actual code.
Even when I change the font and font sizes in the Xcode preferences, the code lines are still too close together and it is very annoying.
Also check out the Meslo font; an open source customized version of Menlo that comes with much nicer line-spacing.
Prior to Xcode 9, there was no way to change line height. However, now in Xcode 9 the option is available under Xcode>Preferences...>Fonts & Colors at the bottom there is a popup that has the options of "Tight Spacing", "Normal Spacing", and "Relaxed Spacing".
Since Xcode 9 you can open your theme file and specify the desired line spacing through the property DVTLineSpacing. Example for 1.5 line spacing:
<key>DVTLineSpacing</key>
<real>1.5</real>
Try using the free, open source Droid Mono font.
It has more line spacing build into the font itself.
The tight line spacing in XCode 4 was driving me crazy too!
Create a custom font with whitespace on the top and bottom of the glyphs, install it and set is as the editing font in Xcode.
Read this:
http://hivelogic.com/articles/top-10-programming-fonts
and download your favorite font and decompress it. After that, open Mac's TextEdit and Format-->Font-->Show Fonts-->click the setting in the left corner beside "+-" -->Manage Fonts-->Click "+" to add the font you just downloaded.
Now you've successfully added a font in your Mac, and you can choose this font in your Xcode preference. The line height of the new font is changed.
Edit the DVTLineSpacing property in the .xccolortheme file to change the line height.
Open any .xcolortheme file from ~/Library/Developer/Xcode/UserData/FontAndColorThemes
Edit the DVTLineSpacing key. If there isn't one, add this to the file, replacing 1.8 with the line spacing you want:
<key>DVTLineSpacing</key>
<real>1.4</real>
Close and re-open Xcode
By default Xcode uses 1 for tight spacing, no key for regular spacing, and 1.2 for relaxed spacing.
Tested with Xcode 12.2 and Mac OS 10.15.

Can I change the size of the Xcode IDE fonts?

I'd like to change the font size of the "Groups & Files" panel of the Xcode IDE. I know how to change the "Fonts & Colors" in the preferences, but those (seem to) only affect the code window, not the rest of the IDE. Any ideas? Thanks!
I believe you can change the size of the Groups & Files pane by setting the PBXTableFontSize parameter in ~Library/Preferences/com.apple.Xcode.plist. This needs PBXTableFont to be set first to take effect.
1) Run defaults write com.apple.Xcode PBXTableFontSize 20 in Terminal, substituting 20 for whatever value you wish to use.
2) Run defaults write com.apple.Xcode PBXTableFont Helvetica in Terminal, substituting Helvetica for the font you wish to use. I'm not sure what OS X's default Sans Serif font is, but Helvetica is pretty generic.
I also wanted to do so. It's ridiculously small!
No, I don't believe this is possible - unless you want to start hacking away at XCode's internal structure. I'd file an enhancement request on this.

Resources