如何移除 eclipse中的 javascript 验证?(英文)
2013-11-12 14:46
253 查看
I actually like MY JavaScript files to be validated, but I definitely don't want to validate and deal with trivial warnings with third party libraries.
That's why I think that turning off validation all together is too drastic. Fortunately with Eclipse Indigo ( 3.7 ) you can selectively remove some JavaScript sources from validation.
Right click your project
Select Properties -> JavaScript -> Include Path
Select
( It looks identical to Java Build Path Source tab )
Expand JavaScript source folder
Highlight
Click
Click
next to
You may either type Ant-style wildcard pattern, or click
to mention the JavaScript source by name.
The information about JavaScript source inclusion/exclusion is saved into
Do not forget to add it to your SCM.
Here is how configuration looks with jquery files removed from validation
That's why I think that turning off validation all together is too drastic. Fortunately with Eclipse Indigo ( 3.7 ) you can selectively remove some JavaScript sources from validation.
Right click your project
Select Properties -> JavaScript -> Include Path
Select
Sourcetab.
( It looks identical to Java Build Path Source tab )
Expand JavaScript source folder
Highlight
Excludedpattern
Click
Editbutton
Click
Addbutton
next to
Exclusion patternsbox.
You may either type Ant-style wildcard pattern, or click
Browsebutton
to mention the JavaScript source by name.
The information about JavaScript source inclusion/exclusion is saved into
.settings/.jsdtscopefile.
Do not forget to add it to your SCM.
Here is how configuration looks with jquery files removed from validation
相关文章推荐
- 如何去除Eclipse对JavaScript的验证
- Eclipse去除js(JavaScript)验证错误
- Eclipse去除js(JavaScript)验证错误
- JavaScript验证只能是英文字符和数字
- 在Eclipse里调用ANT时,如何使javac编译出错提示为英文而非中文?
- 基于JavaScript短信验证码如何实现
- Eclipse去除js(JavaScript)验证错误
- 转 Eclipse去除JavaScript验证错误
- Eclipse去除JavaScript验证错误
- Eclipse去除js(JavaScript)验证错误
- [Javascript] 如何在客户端验证表单被改变
- 去除Eclipse对JavaScript的验证
- Eclipse去除js(JavaScript)验证错误
- 安装Eclipse具有汉化包,如何修改成英文
- Eclipse去除js(JavaScript)验证错误
- Eclipse去除js(JavaScript)验证错误
- Eclipse去除js(JavaScript)验证错误
- Eclipse如果关闭了JavaScript、xml等文件的校验,我怎么人工去验证某个诸如xml文件格式是否有错误??
- 一片介绍eclipse javascript 插件安装的文章 验证有效
- asp.ne如何使用javascript去验证客户端信息,如果验证成功则送往服务器端处理,否则在客户端提示用户(不返回到服务器端处理)