启用eclipse的JavaScript验证 [英] Enable javascript validation for eclipse
问题描述
我的问题是,很久以前我有了Eclipse的javascript验证器。我不知道为什么我不再拥有了,但我想要它。
我发现这个,并试图做逆:
< a href =https://stackoverflow.com/questions/3131878/how-do-i-remove-javascript-validation-from-my-eclipse-project>如何从我的eclipse项目中删除javascript验证? a>
但是我的问题是当我点击我的项目下的属性时,我找不到Javascript选项卡..为什么?我认为问题在这里,我尝试修改任何其他的验证器,也在窗口 - >首选项 - > Javascript或Validtors->客户端JavaScript ..
另外我没有Builders下的JavaScript验证器。
编辑
这是我在项目属性中看到的:
这是我在验证下看到的
这是我在Builders下看到的
将JavaScript自然添加到项目中(基本上,告诉Eclipse将其视为JavaScript项目)。右键单击项目,然后选择配置> 转换为JavaScript项目... 。在这样做之后,您应该会看到一个名为JavaScript验证器的Builder,并在属性中具有 JavaScript 部分。
First: I searched a lot and I can't find anyone to have this problem (it seems like it something basic, but I have been 2 hours dealing with this).
My problem is that long ago I had the javascript validator for eclipse. I don't know why I don't have it anymore, but I want it back.
I found this and tried to do the inverse: How do I remove javascript validation from my eclipse project?
But my problem is that when I click Properties under my project, I can't find the "Javascript" tab.. Why? I think the problem is here, I tried modifying anything else under validators, also under window->Preferences->Javascript or Validtors->Client-side Javascript..
Also I don't have the JavaScript Validator under Builders.
EDIT:
This is what I see on my project properties:
This is what I see under validation
This is what I see under Builders
You need to add the JavaScript "nature" to the project (basically, tell Eclipse to treat it as a JavaScript project). Right-click on the project and choose Configure > Convert to JavaScript Project.... After doing that you should see a Builder named "JavaScript Validator" and have the JavaScript section in the properties.
这篇关于启用eclipse的JavaScript验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!