351
|
Ritesh M Nayak beny23 · 技术社区 · 14 年前 |
1
711
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, you can selectively remove some JavaScript sources from validation.
The information about JavaScript source inclusion/exclusion is saved into
Here is how configuration looks with jQuery files removed from validation: 我认为把所有的验证都关闭太过激烈了。幸运的是,使用Eclipse,您可以有选择地从验证中删除一些JavaScript源。
The information about JavaScript source inclusion/exclusion is saved into
Here is how configuration looks with jQuery files removed from validation:
|
2
125
Turn off the JavaScript Validator in the "Builders" config for your project:
Then either restart your Eclipse or/and rename the .js to something like .js_ then back again. |
3
9
I removed the tag in the .project .
It's worked very well for me. |
4
8
Window -> Preferences -> JavaScript -> Validator (also per project settings possible) 或 Window -> Preferences -> Validation (disable validations and configure their settings) |
5
2
I was able to exclude the jquery.mobile 1.1.1 in Juno by selecting 添加倍数 next to the Exlusion Patterns, which brings up the tree, then drilling down to the jquery-mobile folder and selecting that. This corrected all the warnings for the library! |
6
1
Go to Windows->Preferences->Validation. 这里有一个带有复选框选项的验证程序列表,用于手动&生成、执行和单独禁用那里的javascript验证程序。 If you select the Suspend All Validators checkbox on the top it doesn't necessarily take affect. |
7
0
Another reason could be that you acidentically added a Javascript nature to your project unintentionally (i just did this by accident) which enables javascript error checking. removing this ....javascriptnature from your project fixes that. (this is ofcourse only if you dont want eclipse to realise you have any JS) |
8
0
此外,如果您使用的是 tern eclipse ide 或ibm node.js tools for eclipse,则可能需要禁用JShint和其他不需要的库。 To disable this, Project Properties > Tern > Modules > JSHint or any other library that you don't want. ode.js Tools for Eclipse, you may need to disable JSHint and other libraries that you don't want.
To disable this, Project Properties > Tern > Modules > JSHint or any other library that you don't want.
|
9
0
Easy and Quick solution:
For reference check below image: 或 for MyEclipse then go to MyEclipse and then validation.就是这样!!!! For reference check below image:
|
George Alexander · 类似电报的用户名的Regex 1 年前 |
Aliaksei · 保存前进行WebFlux检查 2 年前 |
Nimet · 如何在regex密码模式中转义* 2 年前 |
Jee · PowerShell输入验证-输入不应为所有数字 6 年前 |
James · Django使用RangeWidget验证表单 6 年前 |