我想把我的编程视野扩展到Linux。一个好的、可靠的基本工具集很重要,还有什么比IDE更基本呢?

我可以找到这些SO主题:

轻量级IDE linux和 你使用什么工具来开发 Linux上的c++应用程序?

我并不是在寻找轻量级IDE。如果一个IDE值那么多钱,我就会为它付费,所以它不一定是免费的。

我的问题是:

Linux有什么好的c++编程IDE ?

最小值是相当标准的:语法高亮显示、代码完成(如智能感知或其Eclipse对应版本)和集成调试(例如basic 断点)。

我自己也搜索过,但是有太多了,几乎不可能手工区分好的和坏的,特别是对于像我这样在Linux中几乎没有c++编程经验的人来说。我知道Eclipse支持c++,而且我真的很喜欢Java的IDE,但是它对c++有什么好处吗?还有更好的吗?

第二篇文章实际上有一些很好的建议,但我遗漏的是,究竟是什么让建议的IDE对用户这么好,它的(缺点)优势是什么?

也许我的问题应该是:

根据您的经验,您建议使用哪种IDE,为什么?


当前回答

我使用Eclipse CDT和Qt Creator(用于Qt应用程序)。

这是我的偏好。这是一个很有启发性的问题,有多少开发者就有多少答案。:)

其他回答

我很高兴你和vim解决了问题。但是我不得不说,我对您已经“非常喜欢Eclipse for Java”感到有点困惑,这意味着您已经熟悉它的工作原理了。在这种情况下,为什么不在c++中也使用它呢?CDT满足您提到的所有要求。

我不想重复答案,但我想我可以再补充一点。

Slickedit是一个优秀的IDE。

It supports large code-bases well without slowing down or spending all its time indexing. (This is a problem I had with eclipse's cdt). Slickedit's speed is probably the nicest thing about it, actually. The code completion works well and there are a large amount of options for things like automatic formatting, beautification and refactoring. It does have integrated debugging. It has plug-in support and fairly active community creating them. In theory, you should be able to integrate well with people doing the traditional makefile stuff, as it allows you to create a project directly from one, but that didn't work as smoothly as I would have liked when I tried it. In addition to Linux, there are Mac and Windows versions of it, should you need them.

我更喜欢使用Emacs和Vim来编写c++代码。当我需要使用IDE时,我使用代码块。

IntelliJ IDEA + C/ c++插件http://plugins.intellij.net/plugin/?id=1373

准备好让你大吃一惊吧。

干杯!

对于基于CMake的项目,我使用Jetbrains CLion

对于基于Autotools的项目,已经提到的Qtcreator。

其他一切:VIM + you完成