RunLoop
RunLoop

Reputation: 20376

Xcode 3.2 find and replace in selected text

Is it possible to find and replace in selected text in Snow Leopard Xcode 3.2? There always use to be an option for selected text. Really frustrating. Thanks.

Upvotes: 20

Views: 25430

Answers (4)

Suragch
Suragch

Reputation: 512226

Sometimes an image helps make things a little easier to grasp quickly. So this is to supplement the chosen answer.

enter image description here

enter image description here

And holding down Option:

enter image description here

Upvotes: 2

Travis M.
Travis M.

Reputation: 11257

In XCode 5 and earlier you can highlight a word and hit CMD+CTRL+E and then simply edit the word in line and it applies your edit to all occurrences of that word in the document.

Upvotes: 2

Aidan
Aidan

Reputation: 21

You can press Command+Ctrl+F to bring up directly the Find & Replace bar, and press Escape to remove it. I don't think there's anyway to activate the "Replace All" button using the keyboard, but then again there never was afaik.

Upvotes: 2

No Surprises
No Surprises

Reputation: 4901

Yeah, but it's a lot less obvious now. If you have the "Find" bar up, change the first dropdown menu to "Find & Replace". Then, if you hold option, the "Replace All" button turns into an "In Selection" button.

Upvotes: 58

Related Questions