I have some experience with Eclipse and Qt creator and am somewhat disappointed in their debuggers, less so in their editors. On Windows, I like Visual Studio for debugging and SlickEdit for editing (SE is also available on Linux). Is there an IDE that is somehow better than the two mentioned?
-
7Hard to believe, I know, but this has been asked here before. – Apr 17 '10 at 15:53
-
1Not to mention a well-configured well-customized emacs owns every IDE in existence. – susmits Apr 17 '10 at 15:54
-
Might want to peek at: http://stackoverflow.com/questions/420065/best-crossplatform-c-qt4-development-environment – Marcin Gil Apr 17 '10 at 15:59
-
possible duplicate of [C++ IDE for Linux?](http://stackoverflow.com/questions/24109/c-ide-for-linux) – interjay May 24 '10 at 17:31
7 Answers
I definitely recommend Eclipse and the CDT plugin. Emacs would be my preferred choice if you only need a good editor and not a full IDE.
I use Eclipse almost every day on Linux, mostly for C++ programming these days. The CDT plugin is really good because it is very well integrated with the g++ compiler and the gdb debugger. On top of that, the really strong feature of CDT is the code indexer - i.e. what Microsoft calls "intellisense" for Visual Studio. The CDT Indexer is so sophisticated it is almost like a compiler, in that it really understands your code as you type it. Very often it allows me to find errors even before I build my project. Also Eclipse can handle very large source trees, especially if you run it with a 64-bit JVM.
Eclipse is a great IDE with a lot of users, and if you don't know any other IDE you may want to start with it. Because it supports many languages and has so many tools, even if you switch to another project with different technologies you can still keep your IDE. So you only need to learn one tool (the same can be said for Emacs).

- 407
- 3
- 2
Emacs + Emacs Code Browser + g++(from gcc). GCCSense in also pretty cool.
This is a lightweight, slick and extremely powerful environment. Not everybody like Emacs though. NetBeans is a good alternative for people accustomed to traditional IDEs.

- 55,802
- 13
- 100
- 117
-
I will second that. GDB integration with emacs is excellent, not to mention extremely powerful scripting using elisp. Also, take a look at cedet, which is sort of like Visual Studio environment – Anycorn Apr 17 '10 at 16:35
-
ECB uses cedet internally and add a few more bell and whistles :-) cscope for Emacs is a welcome addition to the mix as well – Bozhidar Batsov Apr 17 '10 at 16:41
I used Code::Blocks and it works flawlessly and it's great if you come from Visual Studio IDE.

- 1,069
- 3
- 11
- 23
-
The last Code::Blocks release was more than 2 years ago. I don't think that it's active developed any longer. – Bozhidar Batsov Apr 17 '10 at 16:14
-
Code completion has never worked well for me. Maybe it's better in more recent "nightly" builds. – Emile Cormier Apr 17 '10 at 17:42
nano (with syntax highlighting) + make + gcc + gdb + valgrind
Who needs anything else? ;)

- 53,280
- 21
- 146
- 188
-
2
-
which syntax highlighting rules do you use? The default ones have this annoying feature that they sometimes try to color a template as if it were the name of a header file. – Mark VY Oct 12 '16 at 20:17
Geany, QT Creator, or Eclipse CDT. If you don't need a full IDE learn emacs, it's not only an editor, but a full desktop environment, browser, terminal, and more, on its own.

- 2,602
- 2
- 12
- 13