How select the rest of the word in incremental search in Eclipse?
Posted
by arberg
on Stack Overflow
See other posts from Stack Overflow
or by arberg
Published on 2010-04-11T08:32:53Z
Indexed on
2010/04/11
8:43 UTC
Read the original article
Hit count: 357
eclipse
|keyboard-shortcuts
When in incremental search mode in Eclipse, is there a way to select the rest of the word?
For example, suppose I want to find the word “handleReservationGranted”. I type Ctrl-f to enter incremental search mode, and start typing the letters “han”. Now suppose I have found the beginning of “handleReservationGranted”. In my search box I have “han”, but I would now like to be able to select the rest of the word, so that the search box contains “handleReservationGranted” instead of “han”.
In Xemacs, I can type Ctrl-s, type “han”, and then type Ctrl-w. Now my search term is “handleReservationGranted”, and not “han”. So now if I press Ctrl-s, I find the next occurrence of “handleReservationGranted”.
I frequently prefer the incremental search over the search dialog, as the search dialog takes too much space on my screen, and most annoying it frequently hides the found matches. I am using Eclipse Galileo (3.5.2).
Ctrl-Shift-L gives me the list of possible shortcuts in the given context, but none seems to fit what I'm looking for.
© Stack Overflow or respective owner