

If you don't like Xcode but still want an IDE, you can get Eclipse with the C syntax highlighting and compilation plugin, then shoot yourself in both feet, both hands, your head, and then have Oracle install the Ask! toolbar on your gravestone. If you don't like not having autocomplete, you can use Xcode, and shoot yourself in the foot if you plan on having a career as a programmer. All have syntax highlighting for many languages, and are extremely versatile: Sublime is extensible, allowing for a vi/vim-style command input and regex parsing, and emacs can pipe output directly to a compiler (in your case, GCC or LLVM) at the push of the meta key (and then c, and then typing "compile", which is still a lot faster than using a GUI, IMO).Įmacs is also extensible via Emacs Lisp (elisp), to the point where it's not untrue when people say that emacs "is a fine operating system."Ī compiler – one or both of GCC or LLVM – is usually already built into Mac OS, and GCC can be invoked using the gcc terminal command (never used LLVM from the command line, no idea what the command is) use the path to your uncompiled program (i.e. My personal favourites are Sublime Text 3 when I can use a GUI, and emacs in non-windowed mode when I have to use the command line, although you should try the other major editors – BBedit, TextWrangler with GUIs, and vim and nano in the command line.

One thing that's been told to me time and time again – and that I've come to agree with – is that IDEs like Xcode weaken you as a programmer by doing way too much of the work for you.
