去掉eclipse js 错误提示

时间:2024-01-11 13:54:02

1、去掉项目目录底下的.project文件中的以下部分:
<buildCommand>
      <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
      <arguments></arguments>
</buildCommand>

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

2、把出错提示的js文件转移出项目目录后刷新项目工程,重新拷进来即可;