ChrisJJ
ChrisJJ

Reputation: 2302

In Eclipse IDE for C/C++, what key command selects the current word?

Title says it all. Mouse users can double-click. I can't find the equivalent for keyboard.

Upvotes: 2

Views: 114

Answers (2)

HighCommander4
HighCommander4

Reputation: 52809

I would do:

  • Ctrl + LeftArrow to navigate to the beginning of the current word (if not already at the beginning)
  • Shift + Ctrl + RightArrow to select to the end of the word

Upvotes: 1

Yeti
Yeti

Reputation: 1160

Use Select Enclosing Element Alt+Shift+Up to select a word while the cursor is on it.

Press again to select the next bigger connected part. If you selected to much you can use Alt+Shift+Down to make the selection smaller.

Upvotes: 2

Related Questions