问题
I am using appcode to work on an xcode project. How do I search all source files in my project for a given keyword? The keyword need not be a method. Something like:
grep keyword *.m *.h
Thanks.
回答1:
To perform a search across all the project files in the AppCode use Edit
| Find
| Find in Path. In the Text to find
field put your keyword, in the File mask(s)
field put the extensions separated by comma:
Note that the scope is set to the Whole project
, you can limit it if needed.
来源:https://stackoverflow.com/questions/11829349/search-all-files-for-a-given-word