Xcode4,我曾经能够选择一些文本并右键单击并在 xcode3 中搜索该文本?
在 Xcode 3 中,我可以选择一些文本,右键单击并搜索该文本。
然而在 Xcode 4 中这似乎消失了?
有没有快速的替代方案?
编辑 我会选择一些源代码,它会在其余源代码中找到所有出现的情况。
In Xcode 3 I use to be able to select some text, right click and search for that text.
However in Xcode 4 this seems to have disappeared ?
Is there a quick alternative instead ?
EDIT
I'd select some source code and it would find all occurences in the rest of the source code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
选择文字; cmd-E
然后 Shift-cmd-F;返回
繁荣。
Select text; cmd-E
Then Shift-cmd-F; return
Boom.
选择文本,点击 Command-E(“使用选择进行查找”)和 Command-G 来迭代结果。
Select your text, hit command-E ("use selection for find") and command-G to iterate through results.
在 Xcode 4 中,“在工作区中查找”似乎从根本上被破坏了。
其他人发布了解决方法:切换“助理编辑器”按钮以启用菜单项。但是,它仍然不可用于调试输出区域中的文本。
Find in Workspace appears to be fundamentally broken in Xcode 4.
Someone else posted a workaround: toggle the Assistant Editor button to enable the menu item. However it still is not available for text in the debug output area.
在工作区中搜索(可以在编辑 -> 查找 -> 在工作区中查找中读取键盘缩写
Search in workspace (you can read the keyboard abbreviation in Edit -> Find -> find in workspace
选择文本后,您可以随时尝试一些键盘快捷键组合:
在当前文件中搜索,否则
shift+command+F 查看
整个项目)
然后您可以使用 command+G 迭代结果以继续或 < kbd>shift+command+G 向后移动。
希望这有帮助。
You can always try some keyboard shortcuts combination once your text is selected:
search in the current file, otherwise
shift+command+F to look into the
whole project)
Then you can iterate through the results with command+G to go forward or shift+command+G to go backward.
Hope this helps.