搜索时从 Xcode 中排除文件 [英] Exclude a file from Xcode when searching

查看:38
本文介绍了搜索时从 Xcode 中排除文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在搜索时从 Xcode 中排除项目中的文件?我的项目中有一些 JSON 文件,如果在这些文件中找到匹配项,Xcode 会不断锁定.

Is it possible to exclude files in a project from Xcode when searching? I have some JSON files in my project and Xcode constantly locks up if it finds matches in these files.

推荐答案

您可以为搜索定义自定义搜索范围.自定义范围可以定义、保存和重用特定的位置和文件搜索条件.

You can define custom search scope for your search. Custom scope can be define, save, and reuse specific location and file criteria for searches.

现在您可以添加任意数量的文件名.

Now you can add as as many file names as you want.

可以在此处找到有关如何使用自定义搜索范围的更多详细信息 - https://developer.apple.com/Library/ios/recipes/xcode_help-search_navigator/articles/adding_a_search_scope.html

More details on how to use custom search scope can be found here- https://developer.apple.com/Library/ios/recipes/xcode_help-search_navigator/articles/adding_a_search_scope.html

这篇关于搜索时从 Xcode 中排除文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆