Eclipse hang when copying / pasting code

后端 未结 8 1791
失恋的感觉
失恋的感觉 2021-01-30 03:22

I have a big problem. Eclipse is hanging up when I do any copy/paste with Ctrl+C / Ctrl+V keys.

Is it due to the Eclipse vali

相关标签:
8条回答
  • 2021-01-30 03:37

    I think I have found a beginning of a solution here.

    Starting Eclipse with -clean option seems to be better but this not enough. this is because my "workspace building is hanging up on some flash file"

    0 讨论(0)
  • 2021-01-30 03:43

    I faced the problem when editing java code. Every time I typed CTRL + C the editor freezes for a short period of time.

    In my case I only turned of the Go to declaration that is available in textual editors. SeeWindow -> Preferences -> General -> Editors -> Text Editors -> Hyperlinking.

    0 讨论(0)
  • 2021-01-30 03:44

    I solved this issue with these steps:

    1. Identify which "editor" is causing the problem. I detected that, in my case, the java script editor was the one causing it, but when copy/pasting in a simple text editor, (no high light, no color , no nothing) there was no such problem.

      Note:Eclipse loads the file in different "editor windows/ plugins" depending on the file extension, this is configured in General > Editors > File Associations

    2. As my case was caused by the JavaScript editor, went to Preferences > Java Script > Editor > Typing, and disabled all the "Automatically" boxes. This made the trick.

    0 讨论(0)
  • 2021-01-30 03:45

    Disabling Hyperlinking fixed this for me. You could also just change the Default modifier key to something other than CTRL if you still want to use hyperlinking.

    Go to Window -> Preferences -> General -> Editors -> Text Editors -> Hyperlinking and either uncheck Enable on demand hyperlink style navigation or change Default modifier key.

    0 讨论(0)
  • 2021-01-30 03:46

    I had the same issue, and was able to solve it by going to: Preferences -> Javascript -> Editor -> Typing -> "When pasting" heading ... then turning "Update imports" off.

    That one change on its own completely eliminated it, when I was previously getting hangs of 2 seconds or more on almost every copy or paste.

    0 讨论(0)
  • 2021-01-30 03:46

    I solved unchecking all bound to CTRL + C except Copy in Window -> Preferences -> General -> Keys

    0 讨论(0)
提交回复
热议问题