Blaz
Blaz

Reputation: 3618

Highlight current line in Xcode 4 editor?

Unless I've overlooked it, there isn't such an option in Xcode 4 preferences. Is there any way (extension, plugin, etc.) to achieve this visual feedback?

Google search on "xcode 4 highlight current line" is in vain ...

Or was there a deliberate omission of this (rudimentary) feature?

Related question

Also, if anybody can answer a question on (symbol) selection highlight, please do so.

Installing CurrentLineHighlighter.dylib issue

After executing these two

$  defaults write /PATH/TO/Xcode.app/Contents/Info LSEnvironment -dict DYLD_INSERT_LIBRARIES /PATH/TO/CurrentLineHighlighter.dylib

$  /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f /PATH/TO/Xcode.app

Xcode stopped working (and Spotlight can't find Xcode as well).

The /PATH/TO/CurrentLineHighlighter.dylib was actually inside Xcode's Contents folder: /Applications/Xcode.app/Contents/Developer/usr/CurrentLineHighlighter.dylib

Upvotes: 2

Views: 2560

Answers (1)

Andy Arvanitis
Andy Arvanitis

Reputation: 191

I'm the author of that (old) code. A more current (and safer) version of it is now part of Xcode4-Fixins. It is MUCH easier to deal with, since it's actually an Xcode plugin.

Upvotes: 11

Related Questions