Bug 23080 - [typing] action for selecting word under cursor
Summary: [typing] action for selecting word under cursor
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement with 21 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, usability
: 50758 242590 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-02 09:20 EDT by Andrew Utkin CLA
Modified: 2019-08-17 14:25 EDT (History)
12 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?