10

In Eclipse you can hit Ctrl + J to use Incremental Find which is awesome. But if you start out half way down the page, and try to find something in the top half it won't find it because it doesn't wrap around, it stops at the bottom of the page. So I often end up jumping to the top of the page, just to incremental find to the middle.

Is there a way to force incremental find to wrap around the bottom of the page?

Note: I realize there is also Ctrl + Shift + J to do a reverse incremental find, but that has the same limitations.

4

3 回答 3

7

所以我终于想通了,如果你第一次点击Ctrl+ J,它不会换行,所以它不会找到上半部分。如果您再次点击Ctrl+ J,它将换行并搜索整个页面。

只需再次点击Ctrl+ J

于 2012-10-05T21:16:04.000 回答
3

一个接近但不是直接的解决方案是使用旧的Ctrl+方法F,并检查“换行搜索”和“增量”选项。

于 2012-08-22T02:44:37.333 回答
0

有一个用于更好的增量搜索的插件,默认情况下会环绕,我每天都使用它。

https://code.google.com/p/eclipse-glance/

于 2014-10-08T16:41:36.107 回答