I will be programming my merry heart out when suddenly nothing I type makes sense, it starts adding in incorrect characters and deleting random chunks of code whenever I press a key. Undo actually makes the problem worse.
This can all be fixed by force quiting eclipse (once this starts happening it's impossible to quit normally) and restarting it. I thought it might have something to do with my installation, but I've now had it happen across multiple different Ubuntu versions on different computers (also in a CrunchBang installation).
I have no idea what is going on here, and have not been able to find any references to people having the same problem. It seems to happen more often when editing files with both PHP and HTML in them, specifically when editing the HTML parts.
What is causing this and how can I fix it short of switching to another IDE (which believe me, I am VERY close to doing even though I would have to re-setup all my projects).
Edit: After more thorough searching through the Eclipse bug reports I found a bug report with the same problem. It has been confirmed on Windows Vista, Windows XP, Windows Seven, Ubuntu, and Arch Linux.
eclipsepackage, see this guide for reporting bugs. If you installed Eclipse from something you downloaded from the upstream site, you should report the bug here instead. – Eliah Kagan Jun 6 '12 at 18:58eclipsein Ubuntu, describing the problem, linking to the upstream bug report, and arguing that it deserves an SRU. (Search Launchpad first to see if there's already a downstream report.) – Eliah Kagan Jun 6 '12 at 19:42Also affects projectlink on its Launchpad bug page. Then comment in the upstream report so that people there have a link to the downstream report. Finally, please note that if you're reporting this downstream, you should do it withubuntu-bug eclipseor (even better)ubuntu-bug PIDwherePIDis the process ID of the runningeclipseprocess. (This is all explained in Ubuntu's community documentation.) – Eliah Kagan Jun 6 '12 at 19:43