Default Xcode 4.5 font - xcode

What is the default font and font size in Xcode 4.5? I ask because Im trying to configure Eclipse to use the same syntax colouring and editor font as Xcode.
Edit 03.08.2013
For future reference: I used Eclipse Colour Themes to automatically set the syntax colouring properties in Eclipse, rather than manually configuring individual colours, which is a tediously annoying (if not painful) process to do within Eclipse.

Font : Menlo Regular - 11.0
syntax colouring: See image

The default one is Menlo Regular - 11.0

I just wanted to point out that the default one now in Xcode 8.2.1 is SF Mono Regular - 11.0. Maybe someone finds it helpful.

Related

Changing colours and fonts in WebStorm 2016.1

I have just downloaded WebStorm 2016.1 for Mac OS X. I would like to configure my editor fonts and colorus.
I understand that you must save the scheme before it becomes editable. This I have done:
but the options still remain unavailable.
Is this a limitation of the trial or something? What have I missed? I have applied the style, and have even closed down WebStorm and re-opened.
If certain style (e.g. "Doc comment" on your screenshot) has Use inherited attributes option checked .. then it re-uses colors from parent option (which is displayed just below it).
The solution is simple:
either edit parent style
or uncheck that Use inherited attributes option and edit your colors here
P.S.
Trial version has NO limitation in functionality.

Change CMake syntax colors in Clion

I have installed CLion and custom configured a dark theme to make staring at the screen for long hours easier on the eyes. I was able to change every color for the C++ syntax configuration, but the color options for CMake are non-existent, and CMakes default colors are a very dark olive that requires me to strain my eyes to read. CMake shows up in code styles for changing tabbing, spacing, etc, but I cannot find color options anywhere in the settings menu.
Anyone in here that is a CLion user that can point me in the right direction?
Heres a screenshot of the CMake colors, prepare to squint
http://puu.sh/nxwtf/bd0625f791.png
Yes, that functionality is missing.
Please, vote for issue!
I managed to make the file readable by changing the setting at Editor - Language Defaults - Identifiers - Default. I guess that isn't specific to CMakeLists.txt.

How to show the cursor's current line & column position in Xcode?

How do you view the cursor's current line and column position in Xcode? This is irrespective of showing the Line Numbers on the active sheet's left side, how can you show 'Line, Column', or look it up.
Here is an example from Eclipse -
Too my knowledge, showing column number has been removed from new versions of Xcode. You can see line number and set column guide in text editor setting though.
If you are coding in c/c++ I strongly suggest switching to QtCreator or Clion. I personally prefer QtCreator since 1) it has a fakeVim key binding and 2) it is better at loading symbols and giving autocomplete suggestion.
Try this Xcode plugin: Backlight for Xcode
You can use Alcatraz to easily install this plugin, another way of installing it is to:
Download source
Build code
Restart Xcode
(Check Github page on how to further configure the plugin)

Changing text size in xcode version 6.3

It is very common knowing changing font/text in xcode. I found it difficult for me to do that in version 6.3. Any help please?
If you trying to say about Xcode Editor then here it is .
As mention by drdiv in this post How to Increase Font Size in the xcode editor?
Easisest solution:
Close any open projects.
Xcode > Preferences > Font & Colors
Make sure to press CMD+A to select all possible text types. Then change the font size from the picker.
Note:- Of if you want to change the fornt and size of any other like
UICONTROL or etc then please explain your question in detail.

Xcode 6.3 shows random files instead of counterparts in assistant editor

I always have my Xcode assistant editor open with counterparts option. It's very handy to have an *.m file opened at standard editor while having corresponding *.h file in assistant editor.
After recent update to version 6.3 Xcode started to show random instead of corresponding headers quite often. Several clicks to "four squares" icon and mode usually brings it back (but it's very annoying).
Do you experience this too? How to fix it?
Note: deleting DerivedData didn't helped
As a workaround, one could use the Reset Editor command with the keyboard shortcut Command+Option+Shift+Z (US keyboard layout). If your keyboard layout doesn't match, you can see the key binding in View->Assistant Editor->Reset Editor. A word of caution, though, this will close any additional Assistant Editors you may have opened (the ones that open by clicking "+").
Another thing I noticed is the bug happens when you are switching Xcode windows or tabs but not when you are switching files within the same tab.
It looks like it's a just bug after all. I filed a bug report rdar://20684654. For a workaround see the accepted answer.
UPDATE: it's fixed in Xcode 6.4 beta

Resources