如何将 Eclipse 用于 Java 和 PHP?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2493085/
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-19 14:33:44  来源:igfitidea点击:

How to use Eclipse for both Java and PHP?

javaphpeclipseide

提问by user198729

There are Eclipse IDE for Java EE Developers (190 MB)and Eclipse for PHP Developers (139 MB)

适用于 Java EE 开发人员的 Eclipse IDE (190 MB)适用于 PHP 开发人员的 Eclipse (139 MB)

I've already installed Eclipse for PHP.

我已经为 PHP 安装了 Eclipse。

I don't want to install another eclipse for Java.

我不想为 Java 安装另一个 Eclipse。

Is it possible to use the same Eclipse for both Java and PHP?

是否可以对 Java 和 PHP 使用相同的 Eclipse?

EDIT

编辑

I decide to install another Eclipse for Java finally....

我最终决定为 Java 安装另一个 Eclipse....

回答by Michael Borgwardt

回答by Daniel Bingham

If you have trouble getting the Java plug-in into the prepackaged Eclipse PHP - as I have had in the past - then try returning to the eclipse.org site and downloading Eclipse Classic. Then use the plug-in manager (Help->Install New Software) to install both the Java and the PHP plugins.

如果您在将 Java 插件安装到预先打包的 Eclipse PHP 中时遇到问题(就像我过去遇到的那样),请尝试返回 eclipse.org 站点并下载 Eclipse Classic。然后使用插件管理器(Help->Install New Software)安装 Java 和 PHP 插件。

回答by Jeffrey

Do another installation so you have both as separate installs. enter image description here

进行另一次安装,以便将两者作为单独的安装进行。 在此处输入图片说明

回答by Debu Shinobi

Thisanswer explains it all.

这个答案说明了一切。

So in your Eclipse:

所以在你的 Eclipse 中:

回答by jpabluz

回答by Clutch

Yes it is go into the Help->Install new software In the install window select "All Available Sites" in the "Work with:" drop down. Install the plugins to help you with your java programming.

是的,它是进入帮助->安装新软件在安装窗口中,在“使用:”下拉列表中选择“所有可用站点”。安装插件以帮助您进行 Java 编程。