禁用或加快Eclipse PDT中的DLTK索引? [英] Disable or speed up DLTK indexing in Eclipse PDT?

查看:223
本文介绍了禁用或加快Eclipse PDT中的DLTK索引?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows XP SP3上使用Eclipse PDT Helios与Aptana Studio。
经常,我的工作流程中断,因为Eclipse启动一个持续30秒,有时最多2分钟的 DLTK 索引过程,这是令人讨厌的。



我想知道是否有办法:




  • 关闭或

  • 不太频繁地运行DLTK索引过程。



我没有发现有任何改变参数的可能性在窗口>首选项。

解决方案

PDT 2.2(Helios中的一个)正在使用本地数据库引擎H2来存储信息。我写了一个后突出显示如何提高新的索引器的性能



可能还有另一种方法,但是它需要黑客,而且自PDT 2.2早期版本以来我还没有尝试过,所以YMMV:使用较新版本的H2。你看,PDT 2.2使用H2版本1.1.117。当前版本是1.2.140。基本上,它涉及从 h2站点下载较新版本,并将当前的H2 JAR插件文件夹与这个罐子。我应该写一篇关于它的博文。我只需要找一些时间...


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.

解决方案

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...

这篇关于禁用或加快Eclipse PDT中的DLTK索引?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆