Bug 23080

Summary: [typing] action for selecting word under cursor
Product: [Eclipse Project] Platform Reporter: Andrew Utkin <cindrhc>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: blakesys, dchaffiol, deepakazad, gfrancis1, kruegerm-eclipse, Lars.Vogel, markus.kell.r, ndeane01, nikolaymetchev, priest, remy.suen, rohanrhu2
Version: 2.0Keywords: helpwanted, usability
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Andrew Utkin CLA 2002-09-02 09:20:53 EDT
Is it possible to accelerate selection the word under cursor? 
it is not enough to use mouse for this operation. keyboard shortcat is needed 
too.
Comment 1 Jacob Robertson CLA 2005-10-26 16:15:27 EDT
JBuilder has this, and has had it for at least 6 years.

Control-W if I remember correctly.

I miss this all the time.
Comment 2 Dani Megert CLA 2007-03-12 07:50:31 EDT
*** Bug 50758 has been marked as a duplicate of this bug. ***
Comment 3 Markus Keller CLA 2008-07-30 12:44:55 EDT
*** Bug 242590 has been marked as a duplicate of this bug. ***
Comment 4 George Francis CLA 2008-12-10 16:43:24 EST
Try Alt+Shift+Up
Comment 5 Markus Keller CLA 2008-12-11 04:54:43 EST
> Try Alt+Shift+Up

This only works in the Java editor, where the element tree for Edit > Expand Selection To > ... is determined by the AST.

In text editors, a default implementation could expand by
word / line / paragraph (lines separated by multiple line breaks) / document.
Comment 6 Arthur Blake CLA 2010-06-29 09:25:53 EDT
I am dumbfounded at how many years have gone by without eclipse having this really basic keyboard shortcut!
Comment 7 Michael J. Krueger CLA 2011-01-02 14:44:54 EST
Though I understand that there are higher priorities, I am also amazed that this has not been implemented yet.  The functionality already exists and is bound "double left click"; however, it would be very useful to select the current word without having to use the mouse!

Any serious programmer's editor must support the binding of simple actions like this to keyboard shortcuts.  Constantly switching back and forth between keyboard and mouse is inefficient.
Comment 8 Oğuzhan Eroğlu CLA 2019-08-17 14:25:46 EDT
Why this is not implemented since 2002?