Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Find the word at the cursor...
Find the word at the cursor... [message #549126] Sat, 24 July 2010 22:25 Go to next message
Zak Keaton is currently offline Zak Keaton
Messages: 1
Registered: July 2010
Junior Member
I started using eclipse 5 years ago, changed jobs and now I'm back with it. I was hoping much of the one-offs of the keybinds were fixed... Is it true that eclipse still can't find the word at the current cursor position?

Every editor but eclipse supports this. Its real simple, the cursor sits in the word "foobar". I press something like ctrl-F3 to search for foobar. It moves to the next occurrence of foobar. I press find next and it moves to the next one. One key press to the next occurrence, no dialog, no selection. All the same find keys work... Awesome...

The only way I know how to do this in eclipse is by selecting the word, pressing alt-f, hitting return, press escape, find next. That's slew of keys to press and not a replacement. Either is having to refer to another view showing me all occurrences in the file where I have to pull my attention from my work.

The AST based symbol highlighting doesn't meet the need either, I turned it off because of the visual noise it causes me.

From a usability perspective, all find related things should use the same find-next and find-prev keys.

Does anyone know of any plugins to do this? I can't find any. Thank you!
Re: Find the word at the cursor... [message #549212 is a reply to message #549126] Mon, 26 July 2010 06:38 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Zak Keaton wrote:
> I started using eclipse 5 years ago, changed jobs and now I'm back
> with it. I was hoping much of the one-offs of the keybinds were
> fixed... Is it true that eclipse still can't find the word at the
> current cursor position?
>
> Every editor but eclipse supports this. Its real simple, the cursor
> sits in the word "foobar". I press something like ctrl-F3 to search
> for foobar. It moves to the next occurrence of foobar. I press find
> next and it moves to the next one. One key press to the next
> occurrence, no dialog, no selection. All the same find keys work...
> Awesome...
>
> The only way I know how to do this in eclipse is by selecting the
> word, pressing alt-f, hitting return, press escape, find next. That's
> slew of keys to press and not a replacement.
You can use Ctrl + [Shift+] K once the word is selected.

Dani
> Either is having to refer to another view showing me all occurrences
> in the file where I have to pull my attention from my work.
>
> The AST based symbol highlighting doesn't meet the need either, I
> turned it off because of the visual noise it causes me.
>
> From a usability perspective, all find related things should use the
> same find-next and find-prev keys.
>
> Does anyone know of any plugins to do this? I can't find any. Thank you!
>
Previous Topic:2 eclipse instalations on one linux box - mixup problem
Next Topic:Eclipse Helios and XP professional
Goto Forum:
  


Current Time: Wed Oct 22 21:52:31 GMT 2014

Powered by FUDForum. Page generated in 0.06389 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software