Reputation: 11
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
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 -
Delete Line
binding to another. I like mine being Ctrl+LThe 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