Eclipse does not return to the beginning of the file in Find/Replace
Asked Answered
P

3

11

When I use Find/Replace in Eclipse (Helios Service Release 2), it does not find the words above my current location even it reaches to the end of file and I have to set Direction to Backward.

I remember the eclipse (maybe indigo) was returning to the beginning of file when it reached to the end.

Is there any setting for this?

Pseudocarp answered 11/9, 2013 at 9:16 Comment(2)
There is the 'Wrap search' option on the Find/Replace dialog itself.Hagler
@Hagler thanks, I did not knowPseudocarp
P
3

According to the greg-449's answer: There is the 'Wrap search' option on the Find/Replace dialog itself.

Pseudocarp answered 15/9, 2013 at 4:40 Comment(0)
T
12

As you have already found the answer. Just adding the official page which describes this feature in eclipse.There is a wrap search option for this.

From the docs:-

Select the Wrap Search checkbox if you want the dialog to continue from the top of the file once the bottom is reached (if you find / replace in Selected Lines only, then this option applies to those lines only)

Below is the screen shot for the same:-

enter image description here

Tampon answered 21/9, 2013 at 4:12 Comment(1)
I dont have much knowledge about the working and upvoting of SO but I found that when people put efforts in there answer even if it is answered then it is acknowledged. And I did the same :)Soilure
P
3

According to the greg-449's answer: There is the 'Wrap search' option on the Find/Replace dialog itself.

Pseudocarp answered 15/9, 2013 at 4:40 Comment(0)
L
3

See attached screen shot below. You also hear a DING when the search wraps over to the beginning of the file.

http://www.screencast.com/t/7ss2li9Ah

Longwinded answered 15/9, 2013 at 4:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.