Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++/Assembly IDE on Linux [closed]

What I'm looking for is an IDE that will run on Linux, that has support for C++ and x86 assembly syntax highlighting. I've already tried Code::Blocks, but that won't let me run the program as I need to, so that didn't work well.

My needs:

  • Able to compile programs by issuing a "make all" in a certain directory
  • Able to run programs by issuing a custom command instead of running a certain executable
  • Graphical (not vim/emacs/etc) and will run in GNOME/Fedora 14

What would be very helpful:

  • Git integration
  • Autoversioning (like Code::Blocks does)

Eclipse doesn't work for me, as it no matter what I set it tries to do an auto-build/error check of the entire program, using the wrong toolchain, and errors out everything, even if I disable CDT.

Assembly syntax highlighting is not a requirement but would be useful. It does, however, have to have C++ syntax highlighting.

EDIT: By "Graphical" I mean that I already tried vim/emacs some time ago, and found them too challenging to learn how to use in a short amount of time without loosing my sanity.

EDIT 2: The given editor should also store project files in just one file, as I don't want to have to "git add" a whole new directory each time the editor silently adds some file there.

like image 650
Eli Avatar asked Apr 17 '11 21:04

Eli


2 Answers

What do you think about KDevelop?

like image 50
xis Avatar answered Sep 23 '22 22:09

xis


Vim

Be sure to look at

  • C++ Omni Completion
  • ctags and TagList
    • I use ctags --exclude=packagedir -R --c++-kinds=+p --fields=+iaS --extra=+q .
  • cscope (here and here)

Simply the best editor and will work anywhere - including in your remote terminal under screen :)

Eclipse CDT

Eclipse can import existing makefile projects and will not clobber the makefile :) Eclipses intellisense is nice

I use Eclipse HELIOS on linux. It supports

  • profiling,
  • memchecking with valgrind
  • GDB debugging, remote debugging
  • call graph visualization, comprehensive symbol XRef (the usual eclipse shortcuts apply), simple refactorings
  • coverage GCov
  • oprofile
  • ...

It should be portable so I expect most of this to work on windows.

like image 35
sehe Avatar answered Sep 22 '22 22:09

sehe