Linux上的C ++ IDE [英] C++ IDE on Linux

查看:113
本文介绍了Linux上的C ++ IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们试图在Linux上选择用于C ++开发的IDE。
建议的选项是KDevelop和Eclipse。

We trying to choose an IDE for C++ development on Linux. The proposed options are KDevelop and Eclipse.

Eclipse是高度可定制的,但是Java中心和重。
KDevelop受限于特定的KDE(我相信,因为KDE API),如果需要,不能被替换。

Eclipse is highly customizable, but Java centric and heavy. KDevelop is bounded to particular KDE (I believe because KDE API) and can not be replaced if required.

你使用什么,为什么?

感谢
Dima

Thanks Dima

推荐答案

KDevelop,因为:

KDevelop, because:


  • 它支持 CMake 。 li>
  • 它与GCC实用程序完全集成。

  • 它有一个很好的语法高亮和代码编辑器

  • 相对较快的启动时间并且相对较轻。
  • It supports CMake.
  • It fully integrates with the GCC utilities.
  • It has a good syntax highligher and code editor
  • It has a relatively quick startup time and is relatively light weight.

由于您正在比较KDevelop和Eclipse,我还要指出:

Since you are comparing KDevelop with Eclipse, let me also point out that:


  • KDevelop为其项目使用一个文件,因此您可以在文件管理器中打开项目文件。相反,Eclipse将元数据存储在文件夹中,因此您需要通过运行Eclipse打开Eclipse项目。

  • 因为KDevelop将其信息存储在一个项目文件中,而Eclipse使用大量隐藏元数据

  • KDevelop将不会尝试删除文件系统上的文件,除非您特别要求它这样做。相比之下,使用Eclipse意外伤害文件系统上的文件非常容易。
  • KDevelop uses a file for its projects, so you can open the project file in your file manager. By contrast, Eclipse stores metadata in folders, so you need to open your Eclipse project by running Eclipse.
  • Because KDevelop stores its information in a single project file, whereas Eclipse uses lots of hidden metadata, KDevelop leaves your code folders much cleaner than does Eclipse.
  • KDevelop will never attempt to delete files on your filesystem, unless you specifically ask it to do so. By contrast, it is very easy to accidentally harm files on your filesystem using Eclipse.

此外,当我使用KDevelop时,我一直在使用Gnome桌面的Ubuntu上使用它。在Gnome上,KDevelop仍然在启动时间击败Eclipse,并且绝对值得使用。

Also, when I've used KDevelop, I've been using it on Ubuntu which uses the Gnome desktop. On Gnome, KDevelop still beats Eclipse in terms of startup time, and is definitely worth using.

此外,最后一点,如果你使用CMake与KDevelop,将您的源代码分发给Windows,Mac和Linux上的用户,并且他们将能够编译您的源代码,即使他们没有KDevelop; CMake可以生成本地Makefile,Visual Studio项目,Xcode项目或KDevelop项目。所以,如果你使用CMake后端,你不能替换KDevelop的担心真的不适用。

Also, one last note, if you use CMake with KDevelop, then you can distribute your source code to users on Windows, Mac, and Linux, and they will be able to compile your source code, even if they don't have KDevelop; CMake can generate a native Makefile, a Visual Studio project, an Xcode project, or a KDevelop project. So, the concern that you can't replace KDevelop really doesn't apply if you use the CMake backend.

这篇关于Linux上的C ++ IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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