9

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 -

enter image description here

nabster
  • 1,561
  • 2
  • 20
  • 32
J-Dizzle
  • 4,861
  • 4
  • 40
  • 50
  • 1
    Not really, you can turn on the `Page guide at column: 80` – zc246 Nov 10 '15 at 14:13
  • Bummer! Thank you for your response! I use the character address to align side-comments :) – J-Dizzle Nov 10 '15 at 14:14
  • Suppose you know how to turn on the line number. :) – zc246 Nov 10 '15 at 14:15
  • one the left-side of the active sheet? Yup! – J-Dizzle Nov 10 '15 at 14:17
  • I know not an answer to your question (from what I can tell there is no option to display line/col of cursor in Xcode) but for what it's worth I use AppCode from JetBrains. I don't see many mentions of it here on SO but it really is a nice IDE for iOS dev. Same feel and same types of functionality as IntelliJ Idea for Java development. It does show cursor pos BTW. – JJF Nov 15 '15 at 15:18
  • Have you tried [this](https://github.com/limejelly/Backlight-for-XCode)? – npe Nov 17 '15 at 10:23
  • Possible duplicate: http://stackoverflow.com/questions/10258003/highlight-current-line-in-xcode-4-editor – npe Nov 17 '15 at 10:24

2 Answers2

4

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.

Ashkan
  • 1,050
  • 15
  • 32
1

Try this Xcode plugin: Backlight for Xcode

You can use Alcatraz to easily install this plugin, another way of installing it is to:

  1. Download source
  2. Build code
  3. Restart Xcode
  4. (Check Github page on how to further configure the plugin)
Thomas Keuleers
  • 6,075
  • 2
  • 32
  • 35