什么是好的跨平台 C++ IDE?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/950334/
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
What is the good cross platform C++ IDE?
提问by Marko
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 和代码块。Eclipse 插件感觉缓慢,代码块的完成度比 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?
有什么其他选择和第一手经验,因为尝试几个小时和每天使用一些东西是两件不同的事情?
采纳答案by Marko
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++ 插件和一些原始的重构功能。
回答by Josh Kelley
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 (goodfeatures, 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 的巨大改进,下一个版本(将于本月发布)增加了更多漂亮的功能(例如可以区分重载和非重载运算符的语法突出显示)。
回答by Dan
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++。
回答by Jason Catena
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)中,而是将几乎所有功能外包给命令行程序——实际上数量更多,并且用比编辑器的语言更适合手头任务的语言编写(甚至口齿不清)。
http://www.faqs.org/docs/artu/ch13s02.htmlis "A Tale of Five Editors" (read Wily as Acme), from The Art of Unix Programmingby Eric S. Raymond.
http://www.faqs.org/docs/artu/ch13s02.html是来自Eric S. Raymond 的The Art of Unix Programming的“五位编辑的故事”(将 Wily 读作 Acme)。
回答by tim
QTCreator rawks and has a great set of libs that are also cross platform.
QTCreator rawks 并有一套很棒的库,它们也是跨平台的。
回答by tim
recently I did some research for a good C++ Crossplatform IDE:
最近我为一个好的 C++ 跨平台 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 讨论
回答by Navaneeth K N
Use EMACS. M + /gives you all possible completion from the opened buffers. It has got nice integration with GDB as well.
使用 EMACS。M + /从打开的缓冲区中为您提供所有可能的完成。它也与 GDB 有很好的集成。
回答by Ape-inago
I'm a fan of '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.
Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms. - (the site)
Code::Blocks 是一款免费的 C++ IDE,旨在满足用户最苛刻的需求。它被设计为非常可扩展和完全可配置的。
最后,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、代码完成和多编译器支持,所有跨平台 wxwidgets。
回答by Mahdi
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