重复的日食挂 [英] Recurring eclipse hanging
问题描述
好的,有一些东西在项目中搞砸了很好,我得到了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屋!