Xcode underlines all occurrences of a symbol that the cursor is on. However, the underline doesn't exactly "pop out" in the source code. Is it possible to make Xcode highlight the background color of the symbol, like Eclipse does it? I can't find anything in the Preferences panel.
Xcode:
Eclipse:
XCode already has this feature but there's a delay on it after you single click on the text you want to highlight. You can set the delay to 0 seconds.
XCode > Preferences > TextEditing > HighlightInstancesOfSelected and set Delay to 0s
This works but I wasn't able to change the color of it. It is a pale blue color and a bit hard to see.
Search for AutoHighlightSymbol
in Alcatraz (Xcode's package manager). It will do exactly what you want.
After you have the plugin installed, select Editor > Edit Highlight Color. This is transparent by default, so you have to pick one that suits your color theme best.
EDIT: Now that Alcatraz is gone, you're going to have to install the plugin manually. Download from their GitHub, build the project and restart Xcode - which needs to be unsigned for being able to load 3rd party bundles. More info on this here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With