Highlight current line in Xcode 4 editor?

highlight, line, xcode

Solution

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.

Problem

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`

Original source

Related problems