Current line text font size gets increased while typing in Xcode - 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.

Related

Annoying terminal bug, is this known and a solution is out there?

I use the default terminal.app
I use cmd+d command to split panes so I can look at the part of the code while using another command.
This annoying bug comes up when de-splitting the panes.
What it does is that it basically reduces the vertical length of the terminal, so that after de-split, terminal is not filling my screen vertically.
Is there any solution to this?
Any true solution is going to have to depend on a bug fix. But this works for me:
Set the window default size in Preferences/Profiles/Window.
Assign a shortcut key to Window/Return to Default Size.
You could also use the inspector that you get with Shell -> Show Inspector.

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.

How to disable seemingly random syntax higlight in Notepad++

Can anyone suggest:
Why does it higlight like this? I don't seem to do anything to activate it:
How to disable it?
This is old, but I ran into the same problem and just figured out an easy fix.
From the file menu: Language > N > Normal Text
I'm not sure if this is the same issue as mine, but I wanted to keep the language setting enabled but remove the highlighting.
I did this by going to Settings --> Preferences --> Highlghting
Removed the Enable check mark for Highlight Matching Tags.
1) Go to settings -> Style Configurator.
2) Select the language that Notepad++ has chosen, usually based on filename extension. You can also change this manually under the Language menu setting.
3) Go through the Styles until you find the style that applied the highlighting. You can tell because the Background colour will match the highlighted color.
4) Change Background colour to white.
I do not have an answer for your first question
For your second question do the following steps
Inside Notepad++ press ctrl A( select all)
Right click for context menu.
select Remove style and click on Clear all Styles
This will clear all the highlights.
FYI. You may also see this sort of behavior when using a vertical edge in background mode. Switching to line mode will eliminate the highlighting of lines that run over the set character count for the vertical edge.

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