如何忽略某些JavaScript库与Html5模板? [英] How to ignore certain javascript libraries with the Html5 template?

查看:237
本文介绍了如何忽略某些JavaScript库与Html5模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将NetBeans从7.3 Beta 2升级到7.3 RC1。在Beta 2我只能排除完整的文件夹(与PHP项目类型)。要忽略特定文件,我编辑了project.properties文件。这极大地帮助我忽略了所包含的库的多个版本。

I just upgraded my NetBeans from 7.3 Beta 2 to 7.3 RC1. In Beta 2 I could only exclude full folders (with the php project type). To ignore specific files I edited the project.properties file. This greatly helped me to ignore multiple versions of included libraries.

在RC1中,我们有Html5项目类型。我不再发现任何选项忽略文件,并添加ignore.path到project.properties不再似乎为我做的伎俩。

In RC1 we have the Html5 project type. I no longer find any option to ignore files, and adding ignore.path to the project.properties no longer seem to do the trick for me.

所以我的问题是,有没有办法忽略Html 5项目类型的文件?如果是,如何?

So my question is, is there a way to ignore files with the Html 5 project type? If so, how?

如果没有,是我解决这个问题的唯一方法是将库源代码移到项目之外,并且只包含debug-all-with-comments

If not, is my only way of solving this to move the library sources outside of my project and include only the debug-all-with-comments type files, or how would you go about solving this problem with overly many versions of my libraries being parsed?

推荐答案

部分解决方案


  1. 在项目源文件文件夹中将nbproject文件夹重命名为nbproject-html以存储netbeans设置

  2. 前往专案 - 属性 - 忽略的资料夹 - 新增您的图书馆。


  3. 在Netbeans中建立现有来源的Php专案。 b $ b
  1. Rename nbproject folder to nbproject-html in your Project source files folder to store netbeans settings.
  2. Create Php Project with Existing Sources in Netbeans.
  3. Go to Project - Properties - Ignored Folders - Add your libraries.

现在代码完成要快得多。此外,我还可以解决文档标签追赶Ctrl +空间的问题,因为php显然是更好地支持Netbeans比HTML5。

Now code completion is much faster. Moreover I could also solve the problem of documenting tags catch-up with Ctrl + Space, as php is evidently better supported in Netbeans than HTML5.

在我们的例子是netbeans 8和纯JavaScript基于ExtJS的企业项目。

In our case it was netbeans 8 and pure javascript enterprise project based on ExtJS.

这篇关于如何忽略某些JavaScript库与Html5模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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