Disable or speed up DLTK indexing in Eclipse PDT?

泄露秘密 提交于 2019-12-18 10:34:44

问题


I am using Eclipse PDT Helios with Aptana Studio on Windows XP SP3. Very often, my workflow is interrupted because Eclipse starts a DLTK indexing process that lasts 30 seconds, sometimes up to 2 minutes - which is annoying.

I wonder if there is any way to:

  • Either turn that off or
  • Run the DLTK indexing process less frequently.

I didn't find any possibility to change regarding parameters in Window > Preferences.


回答1:


PDT 2.2 (the one in Helios) is using a local database engine, H2, to store information. I wrote a post highlighting how to improve the performance of the new indexer.

There might be another way, but it's requires hacking and I haven't tried it myself since the early builds of PDT 2.2 so YMMV: use a newer version of H2. You see, PDT 2.2 uses H2 version 1.1.117. The current version is 1.2.140. Basically, it involves downloading a newer version from the h2 site, and replacing the current H2 JAR in the plugins folder with this Jar. I should really write a blog post about it. I just need to find some time...




回答2:


I also have/had this problem and turned off "Build Automatically" in the projects menu. Which seems to have resolved the problem for me...

So question is, and please excuse my ignorance here... but what is "Build" required for in PHP world.




回答3:


There are some issue currently being worked out with the dltk.core.index process:

See bug 319130 from yesterday (August 4th).



来源:https://stackoverflow.com/questions/3414592/disable-or-speed-up-dltk-indexing-in-eclipse-pdt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!