`
jerry_chen
  • 浏览: 281068 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

eclipse去掉jquery的小红叉

    博客分类:
  • JAVA
 
阅读更多

eclipse上的jquery总有一个小红叉:


找到工程下的.project文件,用文本编辑器打开修改内容下,红色字是注掉的:


<?xml version="1.0" encoding="UTF-8"?>

<projectDescription>

<name>Spider</name>

<comment></comment>

<projects>

</projects>

<buildSpec>

<!-- <buildCommand>

<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>

<arguments>

</arguments>

</buildCommand> -->

<buildCommand>

<name>org.eclipse.jdt.core.javabuilder</name>

<arguments>

</arguments>

</buildCommand>

<buildCommand>

<name>org.eclipse.wst.common.project.facet.core.builder</name>

<arguments>

</arguments>

</buildCommand>

<buildCommand>

<name>org.eclipse.wst.validation.validationbuilder</name>

<arguments>

</arguments>

</buildCommand>

</buildSpec>

<natures>

<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>

<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>

<nature>org.eclipse.wst.common.project.facet.core.nature</nature>

<nature>org.eclipse.jdt.core.javanature</nature>

<!-- <nature>org.eclipse.wst.jsdt.core.jsNature</nature> -->

</natures>

</projectDescription>


修改完成后eclipse下的jquery文件还有小红叉,因为修改对原来的文件还没有起作用,所以需要把相应的jquery文件删除,重新添加即可。

  • 大小: 3.2 KB
  • 大小: 4 KB
分享到:
评论
1 楼 irismshpch 2015-06-12  
谢谢,对我这种有强迫症的人来说太有用了

相关推荐

Global site tag (gtag.js) - Google Analytics