Jesper
Jesper

Reputation: 572

Getting Eclipse to select words with key binding keyboard shortcuts

I am trying to work in Eclipse on a thing with better support there. I want to make CTRL+SHIFT+LEFT select the word before the cursor and CTRL+SHIFT+RIGHT select the word after the cursor like in a normal text editor.

When I try set it up in General -> Preferences -> Keys by choosing Next Word and/or Select Next Word nothing happens when I try it afterwards. It seems broken.

Is there a fix or is this a bug?

Upvotes: 2

Views: 315

Answers (2)

Snostorp
Snostorp

Reputation: 842

It could also have been that the checkbox "Always show Welcome at start up" in the Eclipse IDE's Welcome Tab was checked.

If that's the case, there is a bug in Eclipse that prevents the Ctrl+Shift+Left/Right from working.

"Ctrl+Shift+Right/Left" doesn't select a word in Eclipse as it ought to do

Upvotes: 1

Jesper
Jesper

Reputation: 572

It was a Maven project that was imported and had been created in a previous version of Eclipse. When creating a new project the problem disappeared. No idea why.

Upvotes: 0

Related Questions