What is the good cross platform C++ IDE? [closed]

和自甴很熟 提交于 2020-01-02 01:15:08

问题


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.

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.

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?


回答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.

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).




回答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.

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.




回答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).

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.




回答6:


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




回答7:


recently I did some research for a good 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.

Please see this permalink for a Summary: ide discussion




回答8:


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)

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.

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




回答9:


Anjuta might have Windows port:

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




回答10:


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

please visit http://www.ultimatepp.org




回答11:


SlickEdit is quite good and available for most platforms.




回答12:


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.




回答13:


NEdit along with this package:

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.



来源:https://stackoverflow.com/questions/950334/what-is-the-good-cross-platform-c-ide

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!