user2314568
user2314568

Reputation: 11

Eclipse juno function bug in ubuntu

I am using Eclipse Juno in an Ubuntu environment, and about every hour my eclipse functions start to act weird. Pressing delete, Ctrl-d will stop working, or delete things in another class I have opened.

Same thing for the cut/paste and inspect functionality, it either doesn't do anything or it pastes/inspects something in a different class I have opened. I doesn't matter if I try it by using the mouse or the keyboard shortcuts.

I'm fairly sure it's an eclipse issue, as this only affects eclipse, and when I restart eclipse these issues are resolved. This is a pain in the ass though, as I have multiple servers running in eclipse, and restarting these take some time.

Refreshing my project as described here doesn't work for me.. Any ideas?

Upvotes: 0

Views: 136

Answers (1)

ddavison
ddavison

Reputation: 29052

sounds like your key bindings might be being overridden by a plugin you have installed..\

Open eclipse, go to -

Window->Preferences->General->Keys

filter for Delete Line- if it is not bound to Ctrl+d then set the binding.

To check for duplicates, click the Delete Line key binding, then sort by "Binding" and see if you have one overriding it. If you do, then you have a couple options -

  1. Disable the Ctrl+d binding that the plugin is using
  2. Change your Delete Line binding to another. I like mine being Ctrl+L

The way keybindings work in eclipse is all dependent on the When column in the key bindings window. It should be set to Editing Text - if it's not, then you should probably set it to that. It might not be working for you in some other content type, say, if you are editing the .classpath

Upvotes: 2

Related Questions