Improving Find/Replace

View: New views
4 Messages — Rating Filter:   Alert me  

Improving Find/Replace

by Piyush Soni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm a relatively new user of Eclipse IDE and I already like it a lot. But
was just wondering, wouldn't it be better if we could somewhere have an
option of searching 'everywhere' in a given file? I mean, we first click
'Find'(Ctrl. + F), then by default it searches forward, and then if it the
word/ search item is not found in this direction, it displays a message with
a sound "String not found". Then I come to know that the string must be in
the backward direction so I click backwards and then find it again.
Shouldn't it start from the top when it reaches the end of file, until it
reaches the starting point for search? (As it is done in Visual Studio
2003/2005) . I know that there is a much more comprehensive search in the
Search Menu, (Ctrl.+ H), but that takes more time and instead of searching
the next occurrence, it tries to search all of them which might not be
needed many times. I'm extremely sorry if this functionality is already
there. In my search on Eclipse discussions, and on the internet I couldn't
find a way to do this.

I hope I'm clear in my description. The whole philosophy is, when I'm asking
the editor to search for a particular word, I probably don't know where it
is: forward or backward.

Thanks and Regards,

"To vacillate or not to vacillate, that is the question ... Or is it?"
Piyush Soni
Graduate Student, Computer Science
Georgia Inst. of Technology
Atlanta, GA


_______________________________________________
eclipse-dev mailing list
eclipse-dev@...
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev

Re: Improving Find/Replace

by Vijay Aravamudhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,
This is the preferred behavior of any text editor - to search forward
(by default) from the current cursor position. If you want to search
with wrap on, you can press Ctrl+F and in the dialog that comes up, you
can click the appropriate check box and this will be remembered for the
future.

hth,
Vijay

Piyush Soni wrote:

> Hi,
> I'm a relatively new user of Eclipse IDE and I already like it a lot. But
> was just wondering, wouldn't it be better if we could somewhere have an
> option of searching 'everywhere' in a given file? I mean, we first click
> 'Find'(Ctrl. + F), then by default it searches forward, and then if it the
> word/ search item is not found in this direction, it displays a message with
> a sound "String not found". Then I come to know that the string must be in
> the backward direction so I click backwards and then find it again.
> Shouldn't it start from the top when it reaches the end of file, until it
> reaches the starting point for search? (As it is done in Visual Studio
> 2003/2005) . I know that there is a much more comprehensive search in the
> Search Menu, (Ctrl.+ H), but that takes more time and instead of searching
> the next occurrence, it tries to search all of them which might not be
> needed many times. I'm extremely sorry if this functionality is already
> there. In my search on Eclipse discussions, and on the internet I couldn't
> find a way to do this.
>
> I hope I'm clear in my description. The whole philosophy is, when I'm asking
> the editor to search for a particular word, I probably don't know where it
> is: forward or backward.
>
> Thanks and Regards,
>
> "To vacillate or not to vacillate, that is the question ... Or is it?"
> Piyush Soni
> Graduate Student, Computer Science
> Georgia Inst. of Technology
> Atlanta, GA
>
>
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@...
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/eclipse-dev
>    
_______________________________________________
eclipse-dev mailing list
eclipse-dev@...
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev

RE: Improving Find/Replace

by Walter Harley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hi,
> I'm a relatively new user of Eclipse IDE and I already like
> it a lot. But was just wondering, wouldn't it be better if we
> could somewhere have an option of searching 'everywhere' in a
> given file? [... detailed description snipped ...]

Hi, Piyush.

Sounds like a great idea to me!  The right place to request great ideas
is Bugzilla (https://bugs.eclipse.org/bugs/); you can enter an
enhancement request.  You should of course search first to see if
someone has already requested it.  You can also ask on the newsgroups (I
would start with eclipse.platform) to see whether the functionality
already exists, and how to use it if it does.

Information about when it is, and is not, appropriate to use the mailing
lists to ask a question is at http://www.eclipse.org/mail/.  Generally
speaking it's best to keep questions and feature-related discussions on
the newsgroups or in Bugzilla.

_______________________________________________
eclipse-dev mailing list
eclipse-dev@...
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev

RE: Improving Find/Replace

by Daniel Megert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There's no need for a feature request. Simply check 'Wrap search' in the
Find/Replace dialog.

Dani


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Walter Harley" <eclipse@...>                                                                                                          |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"'General development mailing list of the Eclipse project.'" <eclipse-dev@...>                                                            |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |04.10.2008 01:10                                                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |RE: [eclipse-dev] Improving Find/Replace                                                                                                          |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





> Hi,
> I'm a relatively new user of Eclipse IDE and I already like
> it a lot. But was just wondering, wouldn't it be better if we
> could somewhere have an option of searching 'everywhere' in a
> given file? [... detailed description snipped ...]

Hi, Piyush.

Sounds like a great idea to me!  The right place to request great ideas
is Bugzilla (?https://bugs.eclipse.org/bugs/); you can enter an
enhancement request.  You should of course search first to see if
someone has already requested it.  You can also ask on the newsgroups (I
would start with eclipse.platform) to see whether the functionality
already exists, and how to use it if it does.

Information about when it is, and is not, appropriate to use the mailing
lists to ask a question is at http://www.eclipse.org/mail/.  Generally
speaking it's best to keep questions and feature-related discussions on
the newsgroups or in Bugzilla.

_______________________________________________
eclipse-dev mailing list
eclipse-dev@...
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev



_______________________________________________
eclipse-dev mailing list
eclipse-dev@...
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev
LightInTheBox - Buy quality products at wholesale price!