Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs code completion for C/C++? [closed]

Tags:

  1. Emacs wiki
  2. Xrefactory
  3. CEDET
  4. ?

What can you recommend me ?

like image 764
ZeroCool Avatar asked Aug 17 '09 02:08

ZeroCool


People also ask

How do I Autocomplete in Emacs?

The key to triggering the auto-completion in emacs is the Tab key. You will get a list of suggestions from the compiler. To select something from the list of suggestions, we recommend you to use C-n and C-p, but the down and up arrow keys can be used as well.

Does Emacs have code completion?

Auto-Complete is an intelligent auto-completion extension for Emacs. It extends the standard Emacs completion interface and provides an environment that allows users to concentrate more on their own work. Its features are: a visual interface, reduce overhead of completion by using statistic method, extensibility.


1 Answers

You can try company-mode. It's a multi-backend in-buffer completion mechanism.
Watch the screencast to get an idea of how it works.

Some of the back-ends are:

  • CEDET Semantic
  • dabbrev
  • XCode
  • PySmell
  • Ropemacs
  • GNU Global

And it's also available via ELPA.

like image 187
Carmine Paolino Avatar answered Sep 21 '22 15:09

Carmine Paolino