Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - search text in all files

Tags:

xcode

Is there a way to search through all Xcode project files? I know that I can find some text inside file with finder, but finding something with Xcode will be very helpful. When I press cmd+f I can only find or find and replace in current display file.

like image 352
Jakub Avatar asked May 14 '12 12:05

Jakub


People also ask

How do I search all files in Xcode?

Use cmd + shift + f for complete Xcode search.

How do I replace text for entire project 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.

Where is file in Xcode?

In the Project navigator, select the folder or group where you want to add a file and perform one of the following actions: Click the Add button (+) in the filter bar and choose File from the pop-up menu. Choose New > File. Control-click and select New File.


2 Answers

Use cmd + shift + f for complete Xcode search.

like image 155
rishi Avatar answered Oct 24 '22 16:10

rishi


On the left hand side of the editor you have a magnifying glass. There's a search box there. That should do the trick. (it's called the search navigator)

cmd + shift + f opens it too.

like image 37
Tikkes Avatar answered Oct 24 '22 15:10

Tikkes