什么是优秀的跨平台C ++ IDE?

时间:2022-05-18 02:06:54

It needs to have good code completion support, debugger, and a nice way to browse code (click to go to documentation).

它需要具有良好的代码完成支持,调试器和浏览代码的好方法(单击转到文档)。

Since I got spoiled by Java IDEs (Eclipse), it would be cool if it supported refactoring, reference search and some form of on the fly compilation, but maybe I'm asking too much.

由于我被Java IDE(Eclipse)所破坏,如果它支持重构,引用搜索和某种形式的动态编译会很酷,但也许我问的太多了。

So far I tried Eclipse C++ plugin, Qt Creator and Code Blocks. Eclipse plugin feels sluggish, Code Blocks has much worse completion then Qt Creator and Qt Creator is great for Qt stuff, but kinda hard to use for free form projects.

到目前为止,我尝试了Eclipse C ++插件,Qt Creator和Code Blocks。 Eclipse插件感觉迟钝,Code Blocks的完成程度要差得多,Qt Creator和Qt Creator非常适合Qt的东西,但有点难以用于*形式的项目。

What are other options and first hand experience with them, since trying something for few hours and using something on a daily basis are two different things?

有什么其他的选择和第一手经验,因为尝试几个小时的东西和每天使用的东西是两个不同的东西?

14 个解决方案

#1


I have been using Code Lite for some time now. It provides support for auto completion. It has a code explorer and outline, though I find myself using "find resource" to open files. It has a plugin for UnitTest++ and some primitive refactoring capabilities.

我一直在使用Code Lite一段时间了。它为自动完成提供支持。它有一个代码浏览器和大纲,虽然我发现自己使用“查找资源”来打开文件。它有一个UnitTest ++的插件和一些原始的重构功能。

link text

#2


I'm very happy with Eclipse. It's not fast, but if you get a good enough workstation, it runs just fine, and considering how much your time is worth, a good workstation is actually pretty cheap. It also has a feature list a mile long (good features, not just bullet points), which I tried to summarize in this answer. It's also being actively developed; CDT 5.0 is a huge improvement over 4.0, and the next version (due out this month) adds even more nifty features (like syntax highlighting that can distinguish between overloaded and non-overloaded operators).

我对Eclipse非常满意。这不是很快,但如果你得到一个足够好的工作站,它运行得很好,考虑到你的时间值多少,一个好的工作站实际上相当便宜。它还有一英里长的功能列表(良好的功能,而不仅仅是要点),我试图在这个答案中总结。它也在积极发展; CDT 5.0是对4.0的巨大改进,下一个版本(本月即将发布)增加了更多漂亮的功能(如语法高亮可以区分重载和非重载运算符)。

#3


With some tweaking, you can turn VIM into a very good IDE. You can enable tabs for multiple source files in a single buffer, code navigation, and even auto-completion. The example below is for python, but the ideas apply to C++ as well.

通过一些调整,您可以将VIM变成一个非常好的IDE。您可以在单个缓冲区,代码导航甚至自动完成中为多个源文件启用选项卡。下面的示例适用于python,但这些想法也适用于C ++。

http://arstechnica.com/open-source/guides/2009/05/vim-made-easy-how-to-get-your-favorite-ide-features-in-vim.ars

#4


Use EMACS. M + / gives you all possible completion from the opened buffers. It has got nice integration with GDB as well.

使用EMACS。 M + /从打开的缓冲区中为您提供所有可能的完成。它也与GDB很好地集成。

#5


I use plan9port's Acme. It only does a few things itself, but provides a very good interface to let any command-line program process any text from any of the tiled windows. So, instead of building all functionality into the editor (eg Emacs), it outsources just about all of it to command-line programs---actually more numerous and written in languages better suited to the tasks at hand than the editor's language (even Lisp).

我使用plan9port的Acme。它本身只做了一些事情,但提供了一个非常好的界面,让任何命令行程序处理来自任何平铺窗口的任何文本。因此,它不是将所有功能都集成到编辑器中(例如Emacs),而是将其全部外包给命令行程序 - 实际上更多,并且用更适合手头任务的语言编写而不是编辑器的语言(甚至Lisp的)。

http://www.faqs.org/docs/artu/ch13s02.html is "A Tale of Five Editors" (read Wily as Acme), from The Art of Unix Programming by Eric S. Raymond.

http://www.faqs.org/docs/artu/ch13s02.html是由Eric S. Raymond撰写的“Unix编程艺术”中的“五个编辑故事”(Wily as Acme)。

#6


QTCreator rawks and has a great set of libs that are also cross platform.

QTCreator rawks并且拥有一组很棒的lib,它们也是跨平台的。

#7


I'm a fan of 'Code::Blocks'

我是'Code :: Blocks'的粉丝

Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.

Code :: Blocks是一个免费的C ++ IDE,旨在满足用户最苛刻的需求。它的设计非常易于扩展且完全可配置。

Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms. - (the site)

最后,IDE具有您需要的所有功能,跨平台具有一致的外观,感觉和操作。 - (网站)

Their latest release has been amazing... For a while it was difficult to get it since they only had the RC on their main site. Now that it's been released proper (not just dev snapshots), its much easier to get.

他们的最新版本令人惊叹......有一段时间很难得到它,因为他们的主站点只有RC。现在它已经正确发布(不仅仅是开发快照),它更容易获得。

built in Astyle, code completion, and multi-compiler support, all cross platform w/ wxwidgets.

内置Astyle,代码完成和多编译器支持,所有跨平台w / wxwidgets。

#8


recently I did some research for a good C++ Crossplatform IDE:

最近我为一个好的C ++ Crossplatform IDE做了一些研究:

* Eclipse Galileo with CDT Plugin
* NetBeans 6.7 (which is also the base for the SunStudio IDE)
* CodeBlocks 8.02
* CodeLite 2.x

After all I have decided to use CodeLite 2.x.

毕竟我决定使用CodeLite 2.x.

Please see this permalink for a Summary: ide discussion

请参阅此永久链接以获取摘要:ide讨论

#9


Anjuta might have Windows port:

Anjuta可能有Windows端口:

http://en.wikipedia.org/wiki/Anjuta

#10


SlickEdit is quite good and available for most platforms.

SlickEdit相当不错,适用于大多数平台。

#11


I've recently discovered NetBeans for C++. In the past C++ support in NetBeans has been lacking, but the 6.5 version has improved greatly. If you setup your project following guidelines on the NetBeans site, then code completion and debugging work well in Linux with g++ & gdb. I've not tried using NetBeans for C++ on Windows, but I don't think there would be an issue using DevC++, Ming or cygwin with g++ for compilation.

我最近发现了NetBeans for C ++。过去,一直缺乏NetBeans中的C ++支持,但6.5版本已经有了很大的改进。如果按照NetBeans站点上的指南设置项目,则代码完成和调试在Linux中使用g ++和gdb很有效。我没有尝试在Windows上使用NetBeans for C ++,但我不认为使用DevC ++,Ming或cygwin与g ++进行编译会出现问题。

#12


You can use the Ultimate++ framework It is a C++ cross platform framework with a great IDE you can develop visual UI applications

您可以使用Ultimate ++框架它是一个C ++跨平台框架,具有出色的IDE,您可以开发可视UI应用程序

please visit http://www.ultimatepp.org

请访问http://www.ultimatepp.org

#13


NEdit along with this package:

NEdit和这个包:

http://code.google.com/p/nedit-macro-kit/

It's cross platform, cross language and customization-friendly.

它是跨平台,跨语言和定制友好的。

#14


I'm currently giving Geany a try on gnu/linux, and so far I'm loving it! :] I would otherwise be using Netbeans for C++, but there seems to be a few nasty bugs with their most recent release. Geany gets the job done, at least for now.

我现在正在给Geany尝试gnu / linux,到目前为止我很喜欢它! :]否则我会使用Netbeans for C ++,但是最近发布的版本似乎有一些令人讨厌的错误。 Geany完成工作,至少目前是这样。

#1


I have been using Code Lite for some time now. It provides support for auto completion. It has a code explorer and outline, though I find myself using "find resource" to open files. It has a plugin for UnitTest++ and some primitive refactoring capabilities.

我一直在使用Code Lite一段时间了。它为自动完成提供支持。它有一个代码浏览器和大纲,虽然我发现自己使用“查找资源”来打开文件。它有一个UnitTest ++的插件和一些原始的重构功能。

link text

#2


I'm very happy with Eclipse. It's not fast, but if you get a good enough workstation, it runs just fine, and considering how much your time is worth, a good workstation is actually pretty cheap. It also has a feature list a mile long (good features, not just bullet points), which I tried to summarize in this answer. It's also being actively developed; CDT 5.0 is a huge improvement over 4.0, and the next version (due out this month) adds even more nifty features (like syntax highlighting that can distinguish between overloaded and non-overloaded operators).

我对Eclipse非常满意。这不是很快,但如果你得到一个足够好的工作站,它运行得很好,考虑到你的时间值多少,一个好的工作站实际上相当便宜。它还有一英里长的功能列表(良好的功能,而不仅仅是要点),我试图在这个答案中总结。它也在积极发展; CDT 5.0是对4.0的巨大改进,下一个版本(本月即将发布)增加了更多漂亮的功能(如语法高亮可以区分重载和非重载运算符)。

#3


With some tweaking, you can turn VIM into a very good IDE. You can enable tabs for multiple source files in a single buffer, code navigation, and even auto-completion. The example below is for python, but the ideas apply to C++ as well.

通过一些调整,您可以将VIM变成一个非常好的IDE。您可以在单个缓冲区,代码导航甚至自动完成中为多个源文件启用选项卡。下面的示例适用于python,但这些想法也适用于C ++。

http://arstechnica.com/open-source/guides/2009/05/vim-made-easy-how-to-get-your-favorite-ide-features-in-vim.ars

#4


Use EMACS. M + / gives you all possible completion from the opened buffers. It has got nice integration with GDB as well.

使用EMACS。 M + /从打开的缓冲区中为您提供所有可能的完成。它也与GDB很好地集成。

#5


I use plan9port's Acme. It only does a few things itself, but provides a very good interface to let any command-line program process any text from any of the tiled windows. So, instead of building all functionality into the editor (eg Emacs), it outsources just about all of it to command-line programs---actually more numerous and written in languages better suited to the tasks at hand than the editor's language (even Lisp).

我使用plan9port的Acme。它本身只做了一些事情,但提供了一个非常好的界面,让任何命令行程序处理来自任何平铺窗口的任何文本。因此,它不是将所有功能都集成到编辑器中(例如Emacs),而是将其全部外包给命令行程序 - 实际上更多,并且用更适合手头任务的语言编写而不是编辑器的语言(甚至Lisp的)。

http://www.faqs.org/docs/artu/ch13s02.html is "A Tale of Five Editors" (read Wily as Acme), from The Art of Unix Programming by Eric S. Raymond.

http://www.faqs.org/docs/artu/ch13s02.html是由Eric S. Raymond撰写的“Unix编程艺术”中的“五个编辑故事”(Wily as Acme)。

#6


QTCreator rawks and has a great set of libs that are also cross platform.

QTCreator rawks并且拥有一组很棒的lib,它们也是跨平台的。

#7


I'm a fan of 'Code::Blocks'

我是'Code :: Blocks'的粉丝

Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.

Code :: Blocks是一个免费的C ++ IDE,旨在满足用户最苛刻的需求。它的设计非常易于扩展且完全可配置。

Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms. - (the site)

最后,IDE具有您需要的所有功能,跨平台具有一致的外观,感觉和操作。 - (网站)

Their latest release has been amazing... For a while it was difficult to get it since they only had the RC on their main site. Now that it's been released proper (not just dev snapshots), its much easier to get.

他们的最新版本令人惊叹......有一段时间很难得到它,因为他们的主站点只有RC。现在它已经正确发布(不仅仅是开发快照),它更容易获得。

built in Astyle, code completion, and multi-compiler support, all cross platform w/ wxwidgets.

内置Astyle,代码完成和多编译器支持,所有跨平台w / wxwidgets。

#8


recently I did some research for a good C++ Crossplatform IDE:

最近我为一个好的C ++ Crossplatform IDE做了一些研究:

* Eclipse Galileo with CDT Plugin
* NetBeans 6.7 (which is also the base for the SunStudio IDE)
* CodeBlocks 8.02
* CodeLite 2.x

After all I have decided to use CodeLite 2.x.

毕竟我决定使用CodeLite 2.x.

Please see this permalink for a Summary: ide discussion

请参阅此永久链接以获取摘要:ide讨论

#9


Anjuta might have Windows port:

Anjuta可能有Windows端口:

http://en.wikipedia.org/wiki/Anjuta

#10


SlickEdit is quite good and available for most platforms.

SlickEdit相当不错,适用于大多数平台。

#11


I've recently discovered NetBeans for C++. In the past C++ support in NetBeans has been lacking, but the 6.5 version has improved greatly. If you setup your project following guidelines on the NetBeans site, then code completion and debugging work well in Linux with g++ & gdb. I've not tried using NetBeans for C++ on Windows, but I don't think there would be an issue using DevC++, Ming or cygwin with g++ for compilation.

我最近发现了NetBeans for C ++。过去,一直缺乏NetBeans中的C ++支持,但6.5版本已经有了很大的改进。如果按照NetBeans站点上的指南设置项目,则代码完成和调试在Linux中使用g ++和gdb很有效。我没有尝试在Windows上使用NetBeans for C ++,但我不认为使用DevC ++,Ming或cygwin与g ++进行编译会出现问题。

#12


You can use the Ultimate++ framework It is a C++ cross platform framework with a great IDE you can develop visual UI applications

您可以使用Ultimate ++框架它是一个C ++跨平台框架,具有出色的IDE,您可以开发可视UI应用程序

please visit http://www.ultimatepp.org

请访问http://www.ultimatepp.org

#13


NEdit along with this package:

NEdit和这个包:

http://code.google.com/p/nedit-macro-kit/

It's cross platform, cross language and customization-friendly.

它是跨平台,跨语言和定制友好的。

#14


I'm currently giving Geany a try on gnu/linux, and so far I'm loving it! :] I would otherwise be using Netbeans for C++, but there seems to be a few nasty bugs with their most recent release. Geany gets the job done, at least for now.

我现在正在给Geany尝试gnu / linux,到目前为止我很喜欢它! :]否则我会使用Netbeans for C ++,但是最近发布的版本似乎有一些令人讨厌的错误。 Geany完成工作,至少目前是这样。