重复的日食挂 [英] Recurring eclipse hanging

查看:111
本文介绍了重复的日食挂的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用eclipse来进行php开发。我最近开发出一个IDE挂起的问题,当我打开eclipse时立即返回挂起。它表示它挂在初始化Java工具上,我在多个版本中重新安装了java和eclipse,我删除了我的工作空间,我终于删除了工作区,并对我的项目进行了一个新的结帐,并重新开始工作。 >

好的,有一些东西在项目中搞砸了很好,我得到了resetup,创建了一些文件,我需要使用本地服务器(.user)从开发目录运行项目.ini和一个php文件),并且能够运行它并进行一些改变,一切正常,我添加了几个文件,并注意到我手动创建的文件没有显示在包资源管理器中,所以我刷新在根级别,它挂起。



我最终杀死了应用程序,重新启动,我仍然可以使用我已经打开的一个文件,但是每当我重新打开了它挂起的项目目录,我删除了工作区,并尝试从现有的源中重新创建项目,但是在输入源目录和hi



我在做一些项目目录,会导致eclipse挂起?

解决方案

事实证明,eclipse正在处理我在项目根目录下已经配置的sessions目录。任何时候,我刷新树,它处理所有的会议文件,这显然是足够10分钟以上。



在告诉eclipse排除它之后,一切都很好。



更新:



如果您遇到同样的问题,那么在eclipse中,您应该可以看到一个包含数百或数千个文本文件的目录。 Eclipse会尝试处理它们。要告诉它不要,右键单击项目,然后单击属性 - >资源 - >资源过滤器。添加排除名称与文件夹名称匹配的所有规则。您可能还想为任​​何.svn文件夹等执行此操作。


I use eclipse to do php development. I recently developed an issue where the IDE would hang, and immediately return to hanging whenever I opened eclipse. It said it was hanging on "Initializing Java Tooling. I reinstalled java and eclipse in multiple editions. I deleted my workspace. I finally deleted the workspace and did a new checkout of my project, at with point it started working again.

Okay, so something screwed up in the project. Fine. I got it resetup, created a few files I need to run the project from the development directory using a local server (.user.ini and a php files), and was able to run it and make a couple changes. Everything working. I was adding a couple of files and noticed that the files I had manually created weren't showing in the package explorer, so I refresh at the root level and.... it hangs.

I eventually kill the app and on relaunch I can still work with the one file I had open, but whenever I reopened the project directory it hung. I deleted the workspace and tried to recreate the project from the existing source, but after entering the source directory and hitting next, it hangs.

Am I doing something to the project directories that would cause eclipse to hang?

解决方案

Turns out the problem was that eclipse was processing the sessions directory which I had configured to exist within the projects root directory. Anytime I refreshed the tree it processed all the sessions files which apparently was enough to take 10+ minutes. Weird.

After telling eclipse to exclude it, all is well again.

Update:

If you're having the same problem I had, then in eclipse you should be able to see a directory that is full of hundreds or thousands of text files. Eclipse will try to process them. To tell it not to, right click on the project, then click properties -> resource -> resource filters. Add an exclude all rule where the name matches the folder name. You may also want to do this for any .svn folders or the like.

这篇关于重复的日食挂的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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