http://stackoverflow.com/questions/3131878/how-do-i-remove-javascript-validation-from-my-eclipse-project
这个问题不知道困扰我多久了。。这次终于找到解决方法了。。
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 Source tab. ( It looks identical to Java Build Path Source tab )
Expand JavaScript source folder
Highlight Excluded pattern
Click Edit button
Click Add button next to Exclusion patterns box.
You may either type Ant-style wildcard pattern, or click Browse button to mention the JavaScript source by name.
The information about JavaScript source inclusion/exclusion is saved into .settings/.jsdtscope file. Do not forget to add it to your SCM.
Here is how configuration looks with jquery files removed from validation
分享到:
相关推荐
myeclipse的使用方法myeclipse的使用方法myeclipse的使用方法myeclipse的使用方法myeclipse的使用方法
MyEclipse2013中去除Derby方法
myeclipse js格式化
MyEclipse连接MySQL的方法.docx MyEclipse连接MySQL的方法.docx MyEclipse连接MySQL的方法.docx MyEclipse连接MySQL的方法.docx MyEclipse连接MySQL的方法.docx MyEclipse连接MySQL的方法.docx MyEclipse连接MySQL的...
Myeclipse js引入报错问题Myeclipse js引入报错问题
MYECLIPSE程序部署方法MYECLIPSE程序部署方法
文档里有具体说明,大家可以去官方网站下载一个myeclipse8.5,然后用该方法破解。很好用。
Myeclipse js插件工具,附带说明 自己用的,存放...
MyEclipse,是在eclipse 基础上加上各种插件,是一款功能强大的企业级集成开发环境,主要用于Java、J2EE以及移动应用的开发。
里面哈有所有的MyEclipse的快捷键的炒作方法
myeclipse去除空格代码自动上屏,注意版本,版本不对的不要下载,具体如何百度。
MyEclipse2013去除Derby方法 类似于前期版本中设置 Startup and Shutdown 中去掉 Derby 一样,只是现在2013版不在提供了
将features、plugins两个文件夹放到myeclipse安装目录的dropins目录中,启动myeclipse即可。
myeclipse6.0破解方法,使用更方便,更快捷
myEclipse8.5破解方法,java类包。
MyEclipse中JS自动提示, MyEclipse中JS自动提示 MyEclipse中JS自动提示
myeclipse7.0破解方法,亲自测试,非常实用。
myeclipse编辑js的插件myeclipse编辑js的插件myeclipse编辑js的插件myeclipse编辑js的插件
Myeclipse 2014 破解补丁 ,Myeclipse 2014 破解方法,Myeclipse 2014注册机
myeclipse上三种安装svn插件的方法