|Re: Search word under cursor [message #189518 is a reply to message #189248]
||Wed, 04 February 2004 17:26
Originally posted by: eclipse-user.jibeinc.com|
Mike Lischke wrote:
> please bear with me when I ask this really basic question. I can't for my
> life find an option to make the Eclipse Java editor to search the word
> that currently contains the cursor without first selecting the word.
> Please, can somebody tell me what I need to make this simple thing working?
> I really hope the answer is not: "You always have to select the word to
> search for it." I mean this is an absolute basic feature and supported in
> every other editor with mouse support I ever used (and there were quite
> some, I even wrote a few myself), so I cannot imagine this is intended.
Couple of comments:
1) I am not familiar with the feature you describe. So I opened up
TextEdit and tried to find a way to place the cursor on a word and
search for it without selecting the word first - no can do. TextEdit is
a pretty popular editor, so I guess my point is that this does not seem
like such a common feature.
2) Is it a problem for you to simply double-click the word to select it
before doing a search? That seems like a very reasonable substitute for
the missing feature you're talking about.
3) If it is really important to you, then file a feature request in
Bugzilla and perhaps it will get implemented. Better yet, if you were so
inclined you could implement it yourself and submit the code as a patch
- working patches with tests seem to be readily incorporated by the
Eclipse development team.
|Re: Search word under cursor [message #189872 is a reply to message #189518]
||Thu, 05 February 2004 09:24
| Mike Lischke
Registered: July 2009
Eric Rizzo wrote:|
Thank you for your answer.
> 1) I am not familiar with the feature you describe. So I opened up
> TextEdit and tried to find a way to place the cursor on a word and
> search for it without selecting the word first - no can do. TextEdit is
> a pretty popular editor, so I guess my point is that this does not seem
> like such a common feature.
Well, well, the different worlds again. I never heard about TextEdit. I'm
usually working with editors like Delphi, MSVC, PHPEdit, UltraEdit, MS
Word etc. However, I realize MS Word does also not search for the word at
> 2) Is it a problem for you to simply double-click the word to select it
> before doing a search? That seems like a very reasonable substitute for
> the missing feature you're talking about.
Right, this is what is implemented and I never thought about this feature
as it always worked where I needed it. But now that I don't have it I miss
it badly. I'm really surprised that nobody ever complained about that
(well, they might not know it). I mean, it's a big disadvantage to have to
use two hands to search for a word where it could be simple to implement
the needed feature. So yes, I have a problem with first selecting a word
before it can be searched.
> 3) If it is really important to you, then file a feature request in
> Bugzilla and perhaps it will get implemented.
Not a bad idea. I should do that.
>Better yet, if you were so
> inclined you could implement it yourself and submit the code as a patch
> - working patches with tests seem to be readily incorporated by the
> Eclipse development team.
I'm just a beginner with Java and Eclipse (otherwise I should already got
used to the kind search is performed ;-)). Currently I'm fighting with the
most basic things in Eclipse so I doubt I would be a real help in this
|Re: Search word under cursor [message #743026 is a reply to message #189518]
||Fri, 21 October 2011 03:58
Registered: October 2011
It is a while since this thread was created, but I have to completely agree with Mike here. Not being able to instantly search for the word under the cursor is a big drag for me. In Vim/GVim, one can hit "#" or "*" to search up or down for the word under the cursor w/o typing in that word, or highlighting it with keyboard/mouse. Very fast, very powerful, you hate to loose it once you are used to it. I could live with a work around, and that would be that the word under the cursor could be pre-populated into the search window. That's equally annoying that you have to manually type in the word you want to find, or escape out of the find window, double-click the word you are after, and then bring up the search window again. A lot of programmers learn to ignore the mouse for 90% of what they do, so let's see some speed-ups in this reguard.|
Powered by FUDForum
. Page generated in 0.02537 seconds