eclipse加速之禁用JS、jsp等文件的语法验证,eclipsejs
eclipse加速之禁用JS、jsp等文件的语法验证
去除eclipse的JS验证:
将windows->preference->Java Script->Validator->Errors/Warnings->
Enable Javascript Sematic validation前面的勾去掉;
选中要修改的项目,Project》Properties
或右键项目 -> properties -> Builders 去掉JavaScript Validator 前面的勾
以下才是正菜,按照以下进行配置:
以下很重要要:
- 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文件)
转自:http://www.bkjia.com/ASPjc/875288.html
弱水_穿云天