Eclipse中去掉javascript校验:
Right click your project (右单击工程属性)
Select Properties -> JavaScript -> Include(选择JavaScript下的include菜单)
Select Source tab (It looks similar to the Java Build Path Source tab)(选择SOURCE标签)
Expand source folder(展开菜单)
Highlight Excluded pattern(选择Excluded)
Click Edit button(点击edit按钮)
Click Add button next to Exclusion patterns box.在新对话框中点击add按钮
Click Browse button and select the JavaScript source by name.(找到需要排除的javascript文件)
[img]http://dl2.iteye.com/upload/attachment/0094/5923/b197486e-ec37-3e54-b58b-aae82e9ef0c5.png[/img]
[img]http://dl2.iteye.com/upload/attachment/0094/5925/54e94503-0373-35f1-bc0d-10c3fac3b962.png[/img]
Right click your project (右单击工程属性)
Select Properties -> JavaScript -> Include(选择JavaScript下的include菜单)
Select Source tab (It looks similar to the Java Build Path Source tab)(选择SOURCE标签)
Expand source folder(展开菜单)
Highlight Excluded pattern(选择Excluded)
Click Edit button(点击edit按钮)
Click Add button next to Exclusion patterns box.在新对话框中点击add按钮
Click Browse button and select the JavaScript source by name.(找到需要排除的javascript文件)
[img]http://dl2.iteye.com/upload/attachment/0094/5923/b197486e-ec37-3e54-b58b-aae82e9ef0c5.png[/img]
[img]http://dl2.iteye.com/upload/attachment/0094/5925/54e94503-0373-35f1-bc0d-10c3fac3b962.png[/img]
本文介绍如何在Eclipse中通过项目属性设置,选择性地排除特定JavaScript文件的校验,实现步骤包括右键项目属性、选择JavaScript Include菜单、编辑排除模式等。
535

被折叠的 条评论
为什么被折叠?



