键入类时Eclipse IDE挂起

键入类时Eclipse IDE挂起

问题描述:

I'm using eclipse (zend studio 11), and it was working fine for quite sometime, but for two days when i type class= as soon as i hit the equals sign it takes about 10 minutes hanging, with no response, after that things just go back to normal. Any ideas?

我正在使用eclipse(zend studio 11),它在很长一段时间内工作正常,但是两天 当我按下等号后输入 class = code>时,挂起大约需要10分钟,没有响应,之后就会恢复正常。 任何想法? p> DIV>

Zend Studio 11 it's old and unsupported. To find whats going on see this wiki page https://wiki.eclipse.org/How_to_report_a_deadlock. In most cases problem appear with broken DLTK index, so:

  1. Close Zend Studio
  2. Drop WORKSPACE_LOC/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2 and/or WORKSPACE_LOC/.metadata/.plugins/org.eclipse.dltk.core.index.lucene
  3. Open Zend Studio and wait for indexing

Anyway I strongly suggest switching to upcoming Eclipse Photon. Since this release code completion is asynchronous.