Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't Copy & Paste in Eclipse 3.5

Tags:

eclipse-3.5

I recently updated my Eclipse to the latest release 3.5 and since then I have a very annoying problem with c&p using the shortcuts.

In an editor (xml, jsp, doesn't matter which one) I try to copy something and paste it somewhere else, nothing happens. When I cut out something and put it somewhere else I sometimes get something else (like a messed up part of my previous selection) or just some whitespaces. This gets even worse when I change lines in between.

First I thought that my keyboard is probably broken but it works just fine in other programs. Then I tried using the context menus' c&p and there it works. Yesterday I managed to get at least an error message when I tried to copy a file in the navigator from one project to another (the message was just "error using copy...bla". no details).

Does anyone else have this problem, or know how to solve it?

I am running on Kubuntu 9.04, and have quite some plugins installed (but only from the Galileo Updates Site), like Birt, Mylin, WST, or Subversive.

like image 659
lostiniceland Avatar asked Jul 27 '09 15:07

lostiniceland


People also ask

Why is my copy and paste not working?

If you are using keyboard shortcuts to copy and paste but it is not working, try using the mouse or trackpad. The problem may be with the keyboard and not the processor. Simply select what you want to copy with your mouse and click on Copy and then Paste.

Why is my copy and paste not working Windows 10?

Many users reported that copy-paste feature isn't working on their PC, and according to them, the easiest way to fix it is to restart your PC. If you don't want to restart your PC, you can also log off from your user account, wait for a few seconds and then log back in again.


2 Answers

For my problem, I had to go to Window > Preferences > Java > Editor > Typing, and uncheck "Update imports"

like image 61
Jeff Axelrod Avatar answered Oct 17 '22 17:10

Jeff Axelrod


This must be related to the key mapping, since those shortcuts are defined according to context.
(Column "When", in Preferences / General / Keys)

Keys

Check if those shortcuts do not work for any editor (do they work for Java editor?)

If they work for some editor, not for other, then some plugin settings must have re-affected them to another command.

like image 9
VonC Avatar answered Oct 17 '22 18:10

VonC