用于 C/C++ 和 Java 的 Eclipse IDE

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

Eclipse IDE for C/C++ and Java

javac++eclipsemacos

提问by dcrearer

I am trying to set up a Java IDE on my Mac running El Capitan, however the installer that I have found requires me to install a separate IDE for C/C++ and Java (Eclipse Neon). What options does eclipse have that would me to have one IDE for multiple languages?

我正在尝试在运行 El Capitan 的 Mac 上设置 Java IDE,但是我找到的安装程序要求我为 C/C++ 和 Java (Eclipse Neon) 安装单独的 IDE。eclipse 有哪些选项可以让我拥有一个适用于多种语言的 IDE?

采纳答案by Elliott Frisch

Eclipse is a platform. Install either. Then run it. Click "Help > Install New Software ..." then in the "Work with" drop down select "Neon - http://download.eclipse.org/releases/neon/", then expand "Programming Languages" and select "C/C++" or "Java" as desired.

Eclipse 是一个平台。要么安装。然后运行它。单击“帮助 > 安装新软件...”,然后在“使用”下拉菜单中选择“Neon - http://download.eclipse.org/releases/neon/”,然后展开“编程语言”并选择“C /C++" 或 "Java" 根据需要。

Programming Languages

编程语言

And you can switch modeswith "Window > Perspective > Open Perspective > Other"

您可以使用“窗口>透视>打开透视>其他”切换模式

Open Perspective

开放视角

回答by Mickael

Just try to open a *.cppfile in your IDE, Eclipse will then prompt for possible plugins to install. This include the Eclipse C/C++ IDEplugins, that is the "official" one from Eclipse community.

只需尝试*.cpp在您的 IDE 中打开一个文件,Eclipse 就会提示您安装可能的插件。这包括Eclipse C/C++ IDE插件,即来自 Eclipse 社区的“官方”插件。