C ++ / IDE build on Linux

What I'm looking for is an IDE that will work on Linux, which supports syntax highlighting of C ++ and x86 builds. I already tried Code :: Blocks, but this will not allow me to run the program as I need, so this did not work.

My needs:

  • Ability to compile programs by creating "make all" in a specific directory
  • Ability to run programs by creating a custom command instead of running a specific executable
  • Graphic (not vim / emacs / etc) and will work in GNOME / Fedora 14

Which would be very helpful:

  • Git integration
  • Auto version (e.g. Code :: Blocks)

Eclipse does not work for me, because no matter what I installed, it tries to automatically build / check the errors of the entire program using the wrong tool chain and all errors, even if I turn off the CDT.

Assembly syntax highlighting is not a requirement, but will be useful. However, it should have C ++ syntax highlighting.

EDIT: By โ€œgraphicโ€, I mean that I already tried vim / emacs some time ago and found them too complex to learn to use for a short period of time without losing my mind.

EDIT 2: this editor should also store project files in only one file, since I do not want git to add a whole new directory every time the editor silently adds a file there.

+6
source share
4 answers

Vim

Be sure to look

Itโ€™s simply the best editor and will work anywhere - including on your remote terminal under the screen :)

Eclipse cdt

Eclipse can import existing makefile projects and there will be no clobber makefile :) Eclipses intellisense is nice

I am using Eclipse HELIOS for linux. He supports

  • profiling,
  • memchecking with valgrind
  • GDB Debugging, Remote Debugging
  • visualization of the call schedule, a comprehensive XRef symbol (regular eclipse combinations apply), simple refactoring
  • GCov coverage
  • OProfile
  • ...

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

+3
source

What do you think of KDevelop?

+5
source

If you want to switch to a commercial route, SlickEdit , which works on several platforms and with several languages โ€‹โ€‹(including the two you mentioned).

http://www.slickedit.com/products/slickedit/

+2
source

I think emacs is the best multilingual editor.

0
source

Source: https://habr.com/ru/post/886102/


All Articles