如何将 HTML 编辑器添加到 Eclipse?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17892094/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:49:24  来源:igfitidea点击:

How to add HTML Editor to Eclipse?

eclipseeclipse-wtp

提问by ccleve

I just upgraded to Eclipse Kepler, the non-J2EE version. The HTML Editor is missing. I read elsewhere that I could install the "Web Page Editor", which I did, but the system now generates all kinds of errors when building my project. Apparently it can't find some JSF classes. I have no interest in using JSF.

我刚刚升级到 Eclipse Kepler,非 J2EE 版本。缺少 HTML 编辑器。我在别处读到我可以安装“网页编辑器”,我确实这样做了,但是系统现在在构建我的项目时会生成各种错误。显然它找不到一些 JSF 类。我对使用 JSF 没有兴趣。

The Web Page Editor install did include the HTML Editor, but it was so much trouble I had to uninstall. How do I get my old HTML Editor back?

网页编辑器安装确实包括 HTML 编辑器,但我不得不卸载它太麻烦了。如何找回旧的 HTML 编辑器?

回答by SRG

Alternatively, you can just install the "HTML Editor" from the WST package (the same one provided in Java EE Edition) in Eclipse 4.x, just by looking for "HTML Editor" in the marketplace (but, indeed, i haven't been able to found it in the "install new software").

或者,你可以安装“ HTML编辑器只是在市场上寻找“HTML编辑器”(但是,确实是”从WST包(Java EE中提供的版本相同的一种)在Eclipse 4.x的,我的天堂” t 能够在“安装新软件”中找到它)。

On my side i prefer to work on Eclipse "Java Edition" most of the time (just adding the few additionnal features i really need).

就我而言,我更喜欢大部分时间在 Eclipse“Java 版”上工作(只是添加一些我真正需要的附加功能)。

enter image description here

在此处输入图片说明

回答by algometrix

Go to Install New Softwares-> Select your version eclipse repo. eg Mars - http://download.eclipse.org/releases/mars-> Expand Web,XML, JAVA EE option -> Install Eclipse Web Developer Tools

转到安装新软件-> 选择您的版本 eclipse 存储库。例如 Mars - http://download.eclipse.org/releases/mars-> 展开 Web,XML, JAVA EE 选项 -> 安装 Eclipse Web Developer Tools

回答by Abhishek_Mishra

May be this link could help you :

可能这个链接可以帮助你:

http://lizusefulstuff.blogspot.in/2012/07/how-to-add-html-editor-for-eclipse.html

http://lizusefulstuff.blogspot.in/2012/07/how-to-add-html-editor-for-eclipse.html

It provides a detaild description on how to install web editor plugin on Eclipse "Java Edition"

它提供了有关如何在 Eclipse“Java 版”上安装 Web 编辑器插件的详细说明

回答by Pascual

I have used CodeMixfor a while and it's a wonderful tool, it can easily install as a plugin and a wide tools will be available like HTML Validation, Emmet, CSS IntelliSense, Snippets, take a look in this site https://www.genuitec.com/sox/tech/html5-with-codemix/

我已经使用CodeMix一段时间了,它是一个很棒的工具,它可以作为插件轻松安装,并且可以使用多种工具,例如 HTML 验证、Emmet、CSS IntelliSense、Snippets,请查看此站点https://www. genuitec.com/sox/tech/html5-with-codemix/

回答by Churro

I had a similar issue once, and I tried a HTML editor addon for eclipse, but haven't found one that's any better than the one that comes with the Java EE edition of eclipse.

我曾经遇到过类似的问题,我尝试了一个用于 eclipse 的 HTML 编辑器插件,但没有找到比 Java EE 版 eclipse 附带的插件更好的插件。

I suggest you download the Eclipse IDE for Java EE Developers.

我建议您下载 Eclipse IDE for Java EE Developers。