Am 05.02.2011 23:08, schrieb Mark Knecht:
> Can someone recommend a good IDE to write C code in?
> 

Eclipse CDT. It is not as good as Eclipse JDT for Java but it is still
pretty good and gets you started really quick.

> 1) Something that can display multiple files in a project.
> 

Multiple tabs and multiple windows. You can also place two tabs next to
each other for comparison by drag-and-drop.

> 2) Something that have some sort of version control built into it?
> 

I believe there is something called a "local history" but I don't rely
on it. There are good plugins for SVN (Subclipse, Subversive), Mercurial
and Git (EGit). I've only worked with Subclipse, though.

> 3) If possible, I can compile right in the IDE.
> 

It comes with a GUI make file generator. It is not great for
distribution and such alike but it is good enough to compile code while
developing. You can also configure it to use existing make files or do
other things when you press "build" or "run".

> I've starting writing something. It's hundreds of lines long in 1 file
> and I just messed up a brace somewhere which I haven't been able to
> figure out in vi.
> 

If the syntax check doesn't help you and the error markers after
executing GCC don't help either, just mark everything and tell Eclipse
to correct the indentation (Ctrl+A Ctrl+I). Usually you can then see
where it messes up.

BTW: If you try it out, please just download it from eclipse.org. Don't
use the version from portage. It is a bit outdated, takes ages to build
and I also had problems with it in the past.

Hope this helps,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to