Eclipse is hanged on copy/paste in JavaScript files

前端 未结 3 571
温柔的废话
温柔的废话 2021-01-01 17:16

I\'ve been running Eclipse Helios 3.6 using the Java/CFEclipse IDEs, and finding some very strange and aggravating errors when trying to edit Javascript files. After the .js

相关标签:
3条回答
  • 2021-01-01 18:00

    Ok, I think I found a brute force solution to this. I went into windows>preferences>javascript>[all sub menus] and just unchecked as many things as I could stomach to uncheck. I did that a couple of weeks ago and it's only hung once since then (I think it was unrelated as I had to force quit after 5 minutes).

    0 讨论(0)
  • 2021-01-01 18:03

    For me the solution was disable this option...

    Preferences/JavaScript/Editor/Typing{When pasting}/Update imports

    0 讨论(0)
  • 2021-01-01 18:21

    First time met as Eclipse hangs on copy/cut for JavaScript files, and https://github.com/Nodeclipse/nodeclipse-1/issues/159

    Current summary:

    • size matters: big project can cause Eclipse JSDT to freeze (this is old issue as @andreialecu has collected https://github.com/Nodeclipse/nodeclipse-1/issues/159#issuecomment-68098716)
    • hammer 100% solution is to remove JsNature for that one project
    • more subtle is to disable only some JSDT features
      Window>Preferences>JavaScript>Editor>Mark Occurrences and maybe even Window->Preferences->General->Editors->Text Editors->Hyperlinking
    • recommended by JSDT maintainers (for further observation): (by @vrubezhny )
      • get latest JSDT version
      • increase available memory settings
    • use resource filters to hide more files in folders like build/dist/bower/vendor (by @ppartida )

    And generally:

    • pay attention what step you have taken when working with any software.
    • experiment with little changes

    Please add more answers here (the first issue raised Aug 18 '10)

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