[英]How to search Xcode4.2 project?
I'd like to run a search on all files in my project. 我想对我项目中的所有文件进行搜索。 How can this be done in Xcode please?
怎么能在Xcode中完成呢?
In Xcode 4, as Jano mentioned: 在Xcode 4中,Jano提到:
⌘3
(Command + 3) will show the Search Navigator ⌘3
(Command + 3)将显示搜索导航器 However: 然而:
⇧⌘F
(Command + Shift + F) will open the Search Navigator with focus on the search field ⇧⌘F
(Command + Shift + F)将打开搜索导航器,并将焦点放在搜索字段上 Both of these keyboard shortcuts will bring open the panel you need to search in all files. 这两个键盘快捷键都将打开您在所有文件中搜索所需的面板。 This page on developer.apple.com shows a list of the keyboard shortcuts available in Xcode.
developer.apple.com上的这个页面显示了Xcode中可用的键盘快捷键列表。
From that reference, the following are the other Find related shortcuts: 从该引用中,以下是其他查找相关的快捷方式:
Find in Workspace… ⇧⌘F (Shift-Command-F) Find and Replace in Workspace… ⌥⇧⌘F (Option-Shift-Command-F) Find… ⌘F (Command-F) Find and Replace… ⌥⌘F (Option-Command-F) Find Next ⌘G (Command-G) Find Previous ⇧⌘G (Shift-Command-G) Use Selection for Find ⌘E (Command-E) Use Selection for Replace ⇧⌘E (Shift-Command-E)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.