search all files for a given word

Deadly 提交于 2019-12-23 14:56:24

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!