search for text in code files

When I use the feature in the Xcode editor that searches for text in the code, it only searches the file currently showing. Is there a way to search for a particular text in all the files in the project at once?

Answered by KMT in 207300022

Works on (most) all files in the project at once, for me. For images tho, as an example, it will find their names used in code, but it won't find them in the project folder.


There should be an icon named 'In Project', right below the search input box that when tapped will allow you to set scope. You can also set to match or ignore case.

Accepted Answer

Works on (most) all files in the project at once, for me. For images tho, as an example, it will find their names used in code, but it won't find them in the project folder.


There should be an icon named 'In Project', right below the search input box that when tapped will allow you to set scope. You can also set to match or ignore case.

search for text in code files
 
 
Q