Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 3.2 find and replace in selected text

Tags:

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.

like image 310
RunLoop Avatar asked Nov 01 '09 07:11

RunLoop


People also ask

How to replace all text in Xcode?

Xcode displays the results of the search, but it doesn't automatically replace the text. To replace the text for a single result, select it and click the Replace button. To replace the text for all results, click Replace All.

How do you replace words in Xcode?

The way edit all in scope works is you select the word that you would like to replace and press ^⌘E. This will highlight all the occurrences of your selected word in the current file. Any changes you make to the word will automatically be reflected in all occurrences of that word.

How do I search for a file in Xcode?

In xcode on left pane in the project navigator at the bottom there is a search field. In the documentation it is called filter bar. According to Inder Kumar Rathore the shortcut is ⌘ + ⇧ + O .


1 Answers

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.

like image 125
No Surprises Avatar answered Sep 20 '22 22:09

No Surprises