Eclipse freezes when copying / pasting code

I have a big problem. Eclipse hangs when I make any copy / paste using the keys Ctrl + C / Ctrl + V.

Is this related to the Eclipse verification code system?

Am I putting something in the Eclipse setup?

Here is my conf:

  • Eclipse 3.4.2
  • RSE plugin
  • Windows XP pro Service Pack 2
  • Java Virtual Machine Version = 1.5.0_11-b03
+51
eclipse eclipse-plugin
Aug 18 '09 at 14:09
source share
8 answers

Hyperlinking disable fixed for me. You can also just change the Default modifier key to something other than CTRL if you still want to use the hyperlink.

Go to Window β†’ Settings β†’ General β†’ Editors β†’ Text Editors β†’ Hyperlink and uncheck Enable on demand hyperlink style navigation or change the Default modifier key .

+86
Nov 29
source share
β€” -

I had the same problem, and I was able to solve it by choosing: Settings β†’ Javascript β†’ Editor β†’ Text Input β†’ β€œInsert” header ... then disable β€œUpdate Import”.

This one change in itself completely eliminated it when I previously got a hang for 2 seconds or more for almost every copy or paste.

+23
Jun 09 '15 at 3:32
source share

I solved this problem with the following steps:

  • Determine which of the "editors" is causing the problem. I found that in my case, the java script editor was the one that called it, but when copying / pasting into a simple text editor (without light, without color, there was nothing), there was no such problem.

    Note. Eclipse loads the file into different "editor windows / plugins" depending on the file extension, this is configured in the section "General"> "Editors"> "File associations"

  • As my case was called by the JavaScript editor, I went to Settings> Java script> Editor> Input and disabled all the "Automatically" fields. It did the trick.

+9
Apr 11 '14 at
source share

Solution ! At least for me.

If CTRL + C works for some editor, and not for others, then some plugin settings should have been re-affected in another command.

So you need to go to:

  Window->Preferences->General->Startup and Shutdown 

and try to disconnect, one after the other, plug-ins at startup:
in my case, there was a "Dynamic Toolkit Language Interface"

+4
Nov 26 '13 at 16:12
source share

I decided to remove all those bound to CTRL + C , except Copy to Window -> Preferences -> General -> Keys

+4
Dec 07 '13 at 15:34
source share

I think I found the beginning of the solution here .

Running Eclipse with the -clean seems better, but not enough. this is because my "workspace" hangs on some kind of flash file "

+2
Aug 19 '09 at 10:04
source share

I just wanted to share my observations here, like a pebble in the ocean, I tried all of the most of the options listed above, but this did not solve my problems.

In fact, in my case, the main culprit was the size of the java file, as the lines of code increased, faced with this hang when copying and pasting.

Such a quick workaround that I made to have a temporary file for development, and as soon as everything was done, moving the code to the corresponding Java file saved me from this obstacle. (I'm a guy from Selenium + Java, so this workaround worked for me).

0
Sep 07 '18 at 6:57
source share

I ran into a problem while editing Java code. Each time I type CTRL + C editor stops for a short time.

In my case, I used only Go to declaration , available in text editors. See Window β†’ Preferences β†’ General β†’ Editors β†’ Text Editors β†’ Hyperlinking .

0
Apr 20 '19 at 14:02
source share



All Articles