tags:

views:

1294

answers:

8

What editor/IDE do you use for C++ programming on linux and Why?

SEE http://stackoverflow.com/questions/24109/c-ide-for-linux

+5  A: 

I use Vim.

It's very quick to set up (as in initialize, and configure from a clean install), and many of my projects are quick tests or generators. It's also powerful enough to handle small~medium-sized projects (dunno about large).

For small projects, quick compilation is nice. Type :!gcc %;./a.out to perform a quick compile-test (and subsequently :!<UP>).

As for features found in a "normal" IDE like MSVC, I use gdb, make (and sometimes cmake or qmake depending on the project), git or svn, ctags, and of course gcc. I do use a few other programs depending on the particular project as well. Luckily I have the flexibility of interchanging any program with any other (assuming I can learn to use it, of course).

strager
+1  A: 

I was raised on Visual Studio, which is why I use Code::Blocks.

Shmoopty
+1  A: 

I use Vim and the other aspects of the standard Linux toolchain. This has been asked a few times. See Konrad Rudolph's answer:

http://stackoverflow.com/questions/24109/c-ide-for-linux#24119

BobbyShaftoe
A: 

emacs (Escape Meta Alt Control Shift) + etags works for me, but that's just because I'm more used to the environment; vim seems pretty nice, too.

Peter K.
A: 

I use Anjuta. Very clean, light and intuitive.

LiraNuna
A: 

emacs:

  • multiple windows
  • macros
  • compile
  • run
  • debug
  • the list goes on...

Oh, and C-x M-C M-butterfly http://xkcd.com/378/

dwj
+1  A: 

Eclipse with CDT. Because I like being able to use a single IDE for everything I do often. (i.e. Java, C, C++, Ruby, Android)

Joe Cannatti
A: 

Emacs or just gEdit :) Emacs takes some getting used to, but it's totally worth it once you get the keyboard commands down. I would go with Netbeans though if I wanted a more hefty IDE...all depends on whether you want all the bells and whistles, how tweakable you want it to be, etc.

HappyCodeMonkey
Emacs is useless for me since I only have 5 digits on each hand. I gather Stallman was some sort of alien with at least 13 fingers in total. :-)
paxdiablo