Xcode4,我曾经能够选择一些文本并右键单击并在 xcode3 中搜索该文本?

发布于 2024-11-02 09:35:41 字数 130 浏览 5 评论 0原文

在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

两仪 2024-11-09 09:35:41

选择文字; cmd-E

然后 Shift-cmd-F;返回

繁荣。

Select text; cmd-E

Then Shift-cmd-F; return

Boom.

野却迷人 2024-11-09 09:35:41

选择文本,点击 Command-E(“使用选择进行查找”)和 Command-G 来迭代结果。

Select your text, hit command-E ("use selection for find") and command-G to iterate through results.

何止钟意 2024-11-09 09:35:41

在 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.

想挽留 2024-11-09 09:35:41

在工作区中搜索(可以在编辑 -> 查找 -> 在工作区中查找中读取键盘缩写

Search in workspace (you can read the keyboard abbreviation in Edit -> Find -> find in workspace

还给你自由 2024-11-09 09:35:41

选择文本后,您可以随时尝试一些键盘快捷键组合:

  • command+C
  • command+F(如果你想要
    在当前文件中搜索,否则
    shift+command+F 查看
    整个项目)
  • command+V

然后您可以使用 command+G 迭代结果以继续或 < kbd>shift+command+G 向后移动。

希望这有帮助。

You can always try some keyboard shortcuts combination once your text is selected:

  • command+C
  • command+F (if you want to
    search in the current file, otherwise
    shift+command+F to look into the
    whole project)
  • command+V

Then you can iterate through the results with command+G to go forward or shift+command+G to go backward.

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文