是否可以将“查找/替换”停靠在Eclipse 中的窗口?

发布于 2024-08-05 22:37:45 字数 182 浏览 3 评论 0原文

我可以发誓我以前在截屏视频中见过一次,其中有人将查找/替换窗口停靠在他们的 Eclipse 环境中。

然而,浏览“窗口>显示”中的选项列表时,我能找到的最接近的是“搜索”窗口。

我发现我经常使用它,而且现在有了更大的显示器,我认为我可以一直在我的视野中打开它。

这可能吗?

谢谢。

I could have sworn I saw it once before in a screencast where someone had the find/replace window docked in their Eclipse environment.

However looking through the list of options in "Window > Show" the closest thing I can find is the Search window.

I find that I use it quite a bit and with larger monitors these days I figure I could afford to have it open in my perspective all the time.

Is this possible?

Thanks.

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

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

发布评论

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

评论(3

回首观望 2024-08-12 22:37:45

一个穷人的解决方法是在 Eclipse 中需要查找/替换视图的部分停靠一个您不需要的视图,然后将查找/替换对话框放在该视图之上,如下所示:

在此处输入图像描述

显然,这是一个巨大的拼凑,但它确实有效。

One poor-man's workaround is to dock a view that you don't need in a part of Eclipse where you want the find/replace view and then place the find/replace dialog on top of that like this:

enter image description here

Clearly this is a huge kludge but it does work.

人│生佛魔见 2024-08-12 22:37:45

我对此不确定,因为快速视图是

允许用户快速显示已创建为快速视图的不同视图的图标

 alt text

搜索/替换是 对话框,不是 查看..

alt text
(来源:bpsite.net

(该对话框不是就像支持编辑器的视图一样,某些视图也有自己的工具栏。)

帮助页面提及

快速视图是可以快速打开和关闭的隐藏视图。它们的工作方式与其他视图类似,只是它们不占用工作台窗口中的空间。

I am not sure about that, since Fast views are:

icons allowing users to quickly display different views that have been created as fast views

alt text

And the search/replace is a Dialog, not a View..

alt text
(source: bpsite.net)

(That Dialog box is not like Views, which support editors, also have their own menus. Some views also have their own toolbars.)

The help page mentions:

Fast views are hidden views that can be quickly opened and closed. They work like other views except they do not take up space in your Workbench window.

心不设防 2024-08-12 22:37:45

这可能不是问题的准确答案。但这就像一个魅力。

  • 按 ctrl + j 并继续输入...
  • 使用 ctrl + k 继续
  • 在需要的地方使用 Shift 键。

使用编辑>增量查找下一个 (Ctrl+J)编辑 >增量查找上一个 (Ctrl+Shift+J) 进入增量查找模式,并开始输入要匹配的字符串。当您键入时,会逐渐找到匹配项。搜索字符串显示在状态行中。按 Ctrl+JCtrl+Shift+ J 转到下一场或上一场比赛。按 EnterEsc 退出增量查找模式。

This might not be an exact answer for the question. But this works like a charm.

  • Press ctrl + j and keep typing...
  • Use ctrl + k to go on
  • Use shift key wherever required.

Use Edit > Incremental Find Next (Ctrl+J) or Edit > Incremental Find Previous (Ctrl+Shift+J) to enter the incremental find mode, and start typing the string to match. Matches are found incrementally as you type. The search string is shown in the status line. Press Ctrl+J or Ctrl+Shift+J to go to the next or previous match. Press Enter or Esc to exit incremental find mode.

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