首页 > 解决方案 > 键入类时 Eclipse IDE 挂起

问题描述

class=我正在使用eclipse(zend studio 11),它在很长一段时间内都可以正常工作,但是在我输入等号后的两天里,它需要大约10分钟的时间挂起,没有任何响应,之后的事情只是恢复正常。有任何想法吗?

标签: phphtmlcsseclipseide

解决方案


Zend Studio 11 太旧且不受支持。要了解发生了什么,请参阅此 wiki 页面https://wiki.eclipse.org/How_to_report_a_deadlock。在大多数情况下,损坏的 DLTK 索引会出现问题,因此:

  1. 关闭 Zend Studio
  2. 删除 WORKSPACE_LOC/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2 和/或 WORKSPACE_LOC/.metadata/.plugins/org.eclipse.dltk.core.index.lucene
  3. 打开 Zend Studio 并等待索引

无论如何,我强烈建议切换到即将推出的 Eclipse Photon。由于此版本的代码完成是异步的。


推荐阅读