如何在Eclipse中解析Java和C ++? [英] How can I parse both Java and C++ in Eclipse?

查看:123
本文介绍了如何在Eclipse中解析Java和C ++?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse主页上,我看到两个版本 - Eclipse for C ++开发人员和Eclipse for Java开发人员。我正在研究一个结合Java和本机C ++代码的项目。我使用Java版本,当我打开一个C ++文件时,不仅没有解析,而且在外部编辑器中打开文件。我可能错过了一些简单的东西,但是如何使Eclipse能够处理两种类型的源文件?这是一个组合的Eclipse包吗?谢谢。

On the Eclipse homepage, I see two versions -- Eclipse for C++ developers and Eclipse for Java developers. I'm working on a project that combines both Java and native C++ code. I am using the Java version, and when I open one of the C++ files, not only is it not parsed, but it opens the file in an external editor. I'm probably missing something simple, but how do I get Eclipse to work with both types of source files? Is there a combined Eclipse package for this? Thanks.

推荐答案

Eclipse是完全基于插件的。只需转到帮助 - >安装新软件,然后选择Indigo(或您正在使用的任何版本)更新站点。然后转到编程语言,然后选择要安装的C / C ++工具。 Eclipse网站的不同下载基本上只是预配置的插件包,您可以随时从插件管理器中添加任何您缺少的内容。

Eclipse is fully plugin based. Just go to Help -> Install new Software and select the Indigo (or whatever version you are using) update site. Then go to Programming languages and select the C/C++ tools you want to install. The different downloads from the Eclipse website are basically just preconfigured plugin bundles and you can always add anything you are missing from the plugin manager.

这篇关于如何在Eclipse中解析Java和C ++?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆