日食憋屈安装角JS后建设工作空间 [英] Eclipse Stuck on building workspace after installing Angular js

查看:208
本文介绍了日食憋屈安装角JS后建设工作空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的日食,同时建立工作区卡住。在Eclipse中的一个项目安装角JS后,问题开始。这主要是卡住在验证我使用亭子和咕噜安装的文件。我安装了他们在我的项目中使用来自eclipse.If之外我的控制台我删除了那个项目,我再一次日食正常功能。创建另一个工作区是没有帮助。我该如何解决,而不从我的项目中删除角JS这个问题?

My eclipse stuck while building workspace. The problem started after installing Angular js in a project of eclipse. It's mainly stuck while validating files I installed using "bower" and "Grunt". I installed them in my project using my console from outside of eclipse.If I remove that project,my eclipse again functions normal. Creating another workspace isn't helping. How can I solve this problem without removing Angular js from my project?

推荐答案

AngularJS Eclipse是基​​于tern.java它使用ternjs。当有大量的JavaScript文件与ternjs解析,它可能需要一段时间。我想你有很多的JavaScript文件在您的项目,因为你使用的凉亭其下载大量的JavaScript文件。

AngularJS Eclipse is based on tern.java which uses ternjs. When there are a lot of JavaScript files to parse with ternjs, it can take time. I suppose you have a lot of JavaScript files in your project since you use bower which download a lot of JavaScript files.

tern.java 0.9.0提供的异步燕鸥完成这避免结冰的Eclipse。换句话说JavaScript文件是在背景的工作与ternjs解析。

tern.java 0.9.0 will provide async tern completion which avoid freezing Eclipse. In other words JavaScript files are parsed with ternjs on background with a job.

但是,如果你想避免解析项目的整个JavaScript文件,您必须配置的燕鸥脚本路径与文件夹以及的。如果你的项目有JSDT性质,燕鸥脚本路径是通过使用JSDT安装路径计算。 JSDT安装路径可以管理排除模式,但燕鸥脚本路径不支持排除模式的时刻。因此,它会解析您的项目的整个JavaScript文件。

But if you wish to avoid parsing the whole JavaScript files of your project, you must configure your tern script path with the well folders. If your project has JSDT nature, tern script path is computed by using JSDT Install Path. JSDT Install Path can manage exclude pattern but tern script path doesn't support exclude pattern for the moment. So it will parse the whole JavaScript files of your project.

请参阅这里更多信息。

这篇关于日食憋屈安装角JS后建设工作空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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