tags:

views:

97

answers:

3

Hi All,

In eclipse when you click on a method name a variable, or an object for example, the same ones are highlited in a specific color elsewhere in the code for easy finding.

Is there a similar feature in Xcode?

A: 

If you count underlining as highlighting I would say "yes". If you select the Variable and keep the cursor there, Xcode will underline all other instanced of that variable.

A: 

2Thomas: I don't like underlined text. Can I change this behaviour, so the references will be highlighted with another colour?

Serg
A: 

You can highlight them using a find operation:

If you've selected a word, hit Cmd+E (find based on current selection), Cmd+F (show the find bar), then Cmd+G (find next). You can become very productive in Xcode (or any other OS X app for that matter) through judicious use of Cmd+E, Cmd+F and Cmd+G.

Nick Forge