<p>What is the best C++ IDE for a *nix envirnoment? I have heard the C/C++ module of Eclipse is decent as well as Notepad++ but beyond these two I have no real idea. Any thoughts or comments?</p>

[{'answer_id': 79214, 'author': 'Vinko Vrsalovic', 'author_id': 5190, 'author_profile': 'https://Stackoverflow.com/users/5190', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://www.kdevelop.org" rel="nofollow noreferrer">KDevelop</a> is nice, especially if you run KDE. It supports many languages, as an added bonus. I\'ve found its embedded terminal really useful.</p>\n'}, {'answer_id': 79223, 'author': 'user14563', 'author_id': 14563, 'author_profile': 'https://Stackoverflow.com/users/14563', 'pm_score': 0, 'selected': False, 'text': "<p>I can't really vouch for the Eclipse module, but that might be attributed to the fact that I'm on Windows and have nearly no idea what I'm doing. </p>\n\n<p>Can't go wrong with your favorite text editor though.</p>\n"}, {'answer_id': 79225, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 3, 'selected': False, 'text': '<p>I just use Emacs.</p>\n'}, {'answer_id': 79236, 'author': 'Jerub', 'author_id': 14648, 'author_profile': 'https://Stackoverflow.com/users/14648', 'pm_score': 4, 'selected': False, 'text': '<p>As a programmer who has been writing code under linux for many years, I simply cannot seem to move away from using Vim for writing code.</p>\n\n<p>Once you learn it, and learn some of its more advanced features (Code Folding, how to use ctags, how to work with multiple buffers effectively, etc) moving to another editor is very hard - as everything else seems to be missing features that you\'re used to.</p>\n\n<p>The only other editor with a superset of vim\'s features is emacs. I highly recommend learning one or the other - and if you have questions, don\'t hesitate to ask here or in #emacs or #vim on irc.freenode.net - there\'s a very large and helpful community that will help you learn what extensions or commands best suit the software editing problems that you\'re facing.</p>\n\n<p>[Edit: A comment noted that "vim isn\'t an IDE", I agree. I don\'t like the IDE moniker because it means a gui with a project manager and a bunch of drop down boxes. I like to use the terminology "<strong>Good Tools</strong>". See <a href="http://www.sauria.com/blog/2008/07/20/ides-and-dynamic-languages/" rel="noreferrer">Ted Leung\'s</a> writings on the matter]</p>\n'}, {'answer_id': 79237, 'author': 'Gili', 'author_id': 14731, 'author_profile': 'https://Stackoverflow.com/users/14731', 'pm_score': 2, 'selected': False, 'text': '<p>Netbeans has gotten some pretty good reviews for its C++ support: <a href="http://www.netbeans.org/features/cpp/" rel="nofollow noreferrer">http://www.netbeans.org/features/cpp/</a></p>\n\n<p>I\'ve never used Netbeans or Eclipse for C++ development, but it\'s worth looking at.</p>\n'}, {'answer_id': 79263, 'author': 'RJP Computing', 'author_id': 14734, 'author_profile': 'https://Stackoverflow.com/users/14734', 'pm_score': 2, 'selected': False, 'text': '<p>I really like <a href="http://codelite.org" rel="nofollow noreferrer">CodeLite</a>. Check out it\'s <a href="http://codelite.org/Main/ReadMore" rel="nofollow noreferrer">feature page</a>.</p>\n'}, {'answer_id': 79274, 'author': 'Ben Collins', 'author_id': 3279, 'author_profile': 'https://Stackoverflow.com/users/3279', 'pm_score': 3, 'selected': False, 'text': '<p>Emacs is a fantastic, stay-out-of-my-way-but-be-able-to-do-everything kind of IDE.  See this other related question: <a href="https://stackoverflow.com/questions/63421/using-emacs-as-an-ide">Using Emacs as an IDE</a></p>\n'}, {'answer_id': 79298, 'author': 'KPexEA', 'author_id': 13676, 'author_profile': 'https://Stackoverflow.com/users/13676', 'pm_score': 3, 'selected': False, 'text': '<p>I would recommend <a href="http://www.codeblocks.org/" rel="noreferrer">CodeBlocks</a>.</p>\n\n<p>Highlights:</p>\n\n<ul>\n<li>Open Source! GPLv3, no hidden costs.</li>\n<li>Cross-platform. Runs on Linux, Mac, Windows (uses wxWidgets).</li>\n<li>Written in C++. No interpreted languages or proprietary libs needed.</li>\n<li>Extensible through plugins</li>\n</ul>\n\n<p>Compiler:</p>\n\n<ul>\n<li>Multiple compiler support:\n\n<ul>\n<li>GCC (MingW / GNU GCC)</li>\n<li>MSVC++</li>\n<li>Digital Mars</li>\n<li>Borland C++ 5.5</li>\n<li>Open Watcom</li>\n<li>...and more</li>\n</ul></li>\n</ul>\n'}, {'answer_id': 79354, 'author': 'neuroguy123', 'author_id': 12529, 'author_profile': 'https://Stackoverflow.com/users/12529', 'pm_score': 1, 'selected': False, 'text': '<p>I asked this question before to experience Linux users and they always say Vim and automake.  I use Vim as my default editor in Linux and after a while it becomes intuitive.  I learned it by working through some small examples while learning C++ so I could learn both at the same time.</p>\n'}, {'answer_id': 79358, 'author': 'brasskazoo', 'author_id': 6340, 'author_profile': 'https://Stackoverflow.com/users/6340', 'pm_score': 6, 'selected': True, 'text': '<p>On Ubuntu, some the IDEs that are available in the repositories are:</p>\n\n<ul>\n<li><a href="http://www.kdevelop.org/" rel="noreferrer">Kdevelop</a></li>\n<li><a href="http://geany.uvena.de/" rel="noreferrer">Geany</a></li>\n<li><a href="http://anjuta.sf.net/" rel="noreferrer">Anjuta</a></li>\n</ul>\n\n<p>There is also:  </p>\n\n<ul>\n<li><a href="http://eclipse.org" rel="noreferrer">Eclipse</a> (Recommended you don\'t install from repositories, due to issues with file/folder permissions)  </li>\n<li><a href="http://www.codeblocks.org/" rel="noreferrer">Code::blocks</a></li>\n</ul>\n\n<p>And of course, everyone\'s favourite text-based editors:</p>\n\n<ul>\n<li>vi/vim</li>\n<li>emacs</li>\n</ul>\n\n<p>Its true that vim and emacs are very powerful tools, but the learning curve is very steep.. </p>\n\n<p>I really don\'t like <strong>Eclipse</strong> that much, I find it buggy and a bit too clunky.<br>\nI\'ve started using <strong>Geany</strong> as a bare-bones but functional and <em>usable</em> IDE. It has a basic code-completion feature, and is a nice, clean [Gnome] interface.<br>\n<strong>Anjuta</strong> I tried for a day, didn\'t like it at all. I didn\'t find it as useful as Geany.</p>\n\n<p><strong>Kdevelop</strong> and <strong>code::blocks</strong> get a bunch of good reviews, but I haven\'t tried them. I use gnome, and I\'m yet to see a KDE app that looks good in gnome (sorry, I\'m sure its a great program).</p>\n\n<p>If only bloodshed dev-c++ was released under linux. That is a fantastic (but windows-only) program. You could always run it under Wine ;)</p>\n\n<p>To a degree, it comes down to personal preference. My advice is to investigate Kdevelop, Geany and code::blocks as a starting point. </p>\n'}, {'answer_id': 79650, 'author': 'f4nt', 'author_id': 14838, 'author_profile': 'https://Stackoverflow.com/users/14838', 'pm_score': 2, 'selected': False, 'text': '<p>Personally, I agree with the kDevelop crowd as well. Eclipse felt a bit bulky and mildly unstable. Something about kDeveloper just always feel right.</p>\n'}, {'answer_id': 79757, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': "<p>Eclipse isn't bad, but you have to do things Eclipse's way.  Eclipse has some built in ideas on directory layout.  For a new project, Eclipse is a reasonable choice.  Importing an existing project into Eclipse may require some restructuring.</p>\n\n<p>I used to use Eclipse under QNX for C++.  The QNX people actually developed the C++ capability, so QNX would have an IDE.</p>\n"}, {'answer_id': 79776, 'author': 'HidekiAI', 'author_id': 7234, 'author_profile': 'https://Stackoverflow.com/users/7234', 'pm_score': 3, 'selected': False, 'text': '<p>My vote is KDevelop (I wish I had more points so I can "vote up", so I could just agree with others indirectly than comment).</p>\n\n<p>I\'ve been using Eclipse for about couple years now for personal use, convincing myself that "since IBM donated it, it must be good", but then I\'ve discovered KDevelop and never turned back.  Because I\'m quite spoiled with Microsoft Visual Studio for professional use, thus KDevelop felt the most comfortable to me.  </p>\n\n<p>I want to enjoy programming as a hobby, not spend time looking up what <kbd>ctrl</kbd>-<kbd>k</kbd>-<kbd>k</kbd> and <kbd>ctrl</kbd>-<kbd>k</kbd>-<kbd>b</kbd> does.  Like others has mentioned, whatever "feels right" to them is the best IDE.  For me, KDevelop feels the most comfortable because I can concentrate on coding (I could probably remap the keys to other IDE\'s to make it feel like VS, but as mentioned, I rather invest my time coding, which is more fun).</p>\n'}, {'answer_id': 79872, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': "<p>If you're coming from Windows &amp; Visual Studio, you might find Code::Blocks meets your expectations.</p>\n\n<p>That was my experience; I tried a few others first, but they all seemed to expect me to do a lengthy tutorial before I could start doing anything interesting - and with a dozen IDEs to try, that could take days.</p>\n\n<p>With Code::Blocks there were no hoops to jump through, and very little <em>mandatory cruft</em> to learn before I could be productive. I still prefer Visual Studio, but Code::Blocks can open my Visual Studio projects, and it doesn't seem to want me to waste any time, so it's the winningmost *nix IDE for me.</p>\n"}, {'answer_id': 80312, 'author': 'itsadok', 'author_id': 7581, 'author_profile': 'https://Stackoverflow.com/users/7581', 'pm_score': 1, 'selected': False, 'text': '<p>At my old job we used <a href="http://www.slickedit.com" rel="nofollow noreferrer">SlickEdit</a> for C++ development under Debian. It\'s cross-platform and quite powerful.</p>\n\n<p>It\'s not free, though.</p>\n'}, {'answer_id': 80528, 'author': 'Rob', 'author_id': 9236, 'author_profile': 'https://Stackoverflow.com/users/9236', 'pm_score': 2, 'selected': False, 'text': "<p>I use the NetBeans C++ plugin and it's superb.  I come from a Visual Studio background and the Netbeans project management is very similar.  I tried KDevelop but found it a little flaky (this was 12 months ago, so it is probably better now).</p>\n\n<p>I also struggled with dependencies using KDevelop - i.e. where a program requires a raft of libs to be built first - but Netbeans made this simple.</p>\n\n<p>The only complaint is that being a Java app, it isn't particularly fast - very noticeable when running under VMWare.</p>\n"}, {'answer_id': 80577, 'author': 'wolfie2x', 'author_id': 15156, 'author_profile': 'https://Stackoverflow.com/users/15156', 'pm_score': 2, 'selected': False, 'text': "<p>I was a VisualStudio + VA-X user before I switched to ubuntu, and needed good auto completion and function navigation features in any IDE. </p>\n\n<p>I have tried Netbeans,Eclipse CDT,CodeBlocks,Geany,Anjuta, KDevelop and finally settled for KDevelop since that was the closest I could get to VS+VA-X. </p>\n\n<p>Eclipse &amp; NetBeans are too heavy &amp; sluggish for my taste. Most of the other IDEs have buggy/incomplete/dumb auto completion &amp; other features; or they want to take control of your code and needs to be imported into projects; or they put 101 files in your source folder. Only KDevelop allowed me to have a simple link to my src folder and let me work. auto completion is not brilliant, but better than the others.</p>\n\n<p>KDevelop doesn't blend well with my Gnome, but I can live with it ;)</p>\n"}, {'answer_id': 80585, 'author': 'slashmais', 'author_id': 15161, 'author_profile': 'https://Stackoverflow.com/users/15161', 'pm_score': 2, 'selected': False, 'text': '<p>Ultimate++ [<a href="http://www.ultimatepp.org/index.html]" rel="nofollow noreferrer">http://www.ultimatepp.org/index.html]</a></p>\n\n<p>[edit]<br />\nIt does have it\'s own C++ class libs (as Hernan points out), but nothing stops you from using any other class libs like the SDL, or you can roll your own. You can even use boost if you like, but I must say I find some of the supplied classes &amp; techniques to be more useful.<br /><br />What I appreciate most is it\'s brilliant integration with the debugger and very complete context-sensitive editor. It uses the standard compiler &amp; debugger (gcc, g++, gdb) on Linux and the MS compiler/debugger on that platform.<br /><br />The only (very small) gripe I have is the home-made names for projects (called Nest\'s &amp; so forth). That is unnecessary and may even be off-putting to serious developers, but they are only names &amp; I find I can easily ignore it.</p>\n'}, {'answer_id': 80841, 'author': 'ext', 'author_id': 15244, 'author_profile': 'https://Stackoverflow.com/users/15244', 'pm_score': 0, 'selected': False, 'text': '<p>Emacs works for simple things but I use Eclipse for any larger project.</p>\n'}, {'answer_id': 80879, 'author': 'user14437', 'author_id': 14437, 'author_profile': 'https://Stackoverflow.com/users/14437', 'pm_score': 2, 'selected': False, 'text': "<p>Simply put, Netbeans. You have to try it out. It's so good. It's much better than Eclipse with the CDT plugin.</p>\n"}, {'answer_id': 3540774, 'author': 'tstenner', 'author_id': 73299, 'author_profile': 'https://Stackoverflow.com/users/73299', 'pm_score': 3, 'selected': False, 'text': '<p>I\'m surprised noone has mentioned <a href="http://qt.nokia.com/products/developer-tools" rel="noreferrer">Qt Creator</a>, as it\'s available in most repositories, quite small in size and yet does most things I need very well.</p>\n'}, {'answer_id': 3540830, 'author': 'UncleZeiv', 'author_id': 60531, 'author_profile': 'https://Stackoverflow.com/users/60531', 'pm_score': 1, 'selected': False, 'text': '<p>The problem with most IDEs is that they want to have a certain degree of control on how the project is organized, and this could be a problem if you have to work on that project with other people. In my experience this leads to two series of related problems:</p>\n\n<ul>\n<li><p>If you start a project in a particular IDE, they will layout for you a particular directory structure, file organization, file naming convention, build system, etc. Of course most of these options are customizable, but it\'s not always possible to adhere to specific conventions which you might be required to follow. Projects with a complex build system might be difficult to implement from within the IDE. Moreover, the project might not be suitable for external, independent modification; so for instance, if you are planning to write an opensource application, <em>avoid making the IDE a dependency for the project</em>.</p></li>\n<li><p>If you import a project started elsewhere, chances are it won\'t be very easy to use all the features provided by the IDE. You will have to figure out how to hook the build system, the debugger (as the binaries might not be where expected), etc. This is especially true for large and complex projects.</p></li>\n</ul>\n\n<p>The reason why these ares not a problem under Windows is that Visual Studio is a <em>de-facto standard</em>. Under *nix there\'s a tendency not to impose particular tools/editors when developing a project collaboratively, and this is why these "cross-IDE communication" problems arise.</p>\n\n<p>As a final note, if you learn, say, kdevelop or netbeans, you might have problems if one day you have to work on a machine where installing those is problematic (e.g. you might not have a Java runtime available and you might not be allowed to install it). If you learn (say) Vim + plugins, you are way safer: you can keep your configuration as a .zip file on your webserver and be pretty sure that Vim will always be available everywhere.</p>\n'}]
['https://Stackoverflow.com/questions/79210', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/14717/']