导航“文件搜索”使用键盘快捷键在 Eclipse 中生成结果

发布于 2025-01-07 06:01:10 字数 534 浏览 3 评论 0原文

我想启动文件搜索,然后导航结果(跳转到下一个/上一个匹配项),而无需离开编辑器窗口。

我目前这样做...

  1. 打开文件搜索 CTRL + H 并搜索
  2. 打开结果窗口 ALT + SHIFT + Q, S
  3. 显示下一个匹配 CTRL + .
  4. 切换回编辑器ENTER(跳转到所选行)
  5. 编辑代码
  6. 切换回搜索结果CTRL + F7
  7. 转到 [ 3]

...但显然这有点乏味。理想情况下,“显示下一个匹配”快捷方式可以在编辑器窗口中使用,就像 Visual Studio 中的 F8 一样。

我正在使用 Eclipse Indigo Service Release 1。

I would like to launch a File Search then navigate the results (jump to next / previous match) without leaving the editor window.

I currently do it like this...

  1. Open File Search CTRL + H and search
  2. Open results window ALT + SHIFT + Q, S
  3. Show Next Match CTRL + .
  4. Switch back to editor ENTER (jumps to selected line)
  5. Edit code
  6. Switch back to Search results CTRL + F7
  7. Goto [3]

...but obviously this is a bit tedious. Ideally the Show Next Match shortcut would work in the editor window like F8 does in Visual Studio.

I'm using Eclipse Indigo Service Release 1.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

Bonjour°[大白 2025-01-14 06:01:10

不,这是不可能的,但是其他人想要这个功能,并且有人甚至实现了一个示例插件来说明如何完成它。

这是一篇关于该插件的博客文章

...以及请求该功能的 bugzilla 报告 (并附有示例插件)。也许您应该尝试安装它并将您的声音添加到错误中?

No, it is not possible, however other people want this functionality, and someone has even implemented an example plug-in of how it should be done.

Here is a blog post about the plug-in

...and the bugzilla report where the functionality was requested (and the example plug-in attached). Perhaps you should try installing it and adding your voice to the bug?

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