Reputation: 3618
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?
Also, if anybody can answer a question on (symbol) selection highlight, please do so.
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
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