Emacs as an IDE for large C++ projects

后端 未结 5 1198
执念已碎
执念已碎 2021-01-30 18:29

I am a Emacs newbie. I have to trying to search on how to use Emacs for use with large C++ projects particularly to index code and auto-complete function names and behave Eclips

5条回答
  •  感情败类
    2021-01-30 18:58

    It depends what you are looking for in an IDE. I have been using Emacs for a fairly large C++ project. Of course you need to configure emacs to work as you want it to work in a greater extent they any other IDE.

    But yes CEDET is a start, even though it is not perfect.

    However there is a very good auto complete mode for Emacs http://cx4a.org/software/auto-complete/ it is not intelisense but it should integrate with CEDET in some way to give you a farily good auto complete.

    Another important feature that I often use is the function ff-find-other-file to easy jump from header and implementation files.

    Then of course you need to roll your own bulid. CEDET has some support for projects, but I have not tested it. However Emacs integrate well with command-line build tools such as make. Errors are printed in a buffer and you can jump to the correct line easily within Emacs.

    GDB is also integrates well with Emacs M-x gdb, then just remember the gdb-many-windows command.

提交回复
热议问题