views:

2782

answers:

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

What can you recommand me ?

+1  A: 

I tend to use etags.

For emacs integration: http://www.gnu.org/software/emacs/emacs-lisp-intro/html%5Fnode/etags.html

For how to run etags. http://www.delorie.com/gnu/docs/emacs/etags.1.html

As a bonus, this blog post describes a bit more emacs setup and how to use etags. http://tulrich.com/geekstuff/emacs.html

Edit: To answer the comment, after runnning etags across your code, you can complete words with C-x t(that's what it's bound to on my machine.) Or you can call the tag-search method.

chollida
Yeah that's what I actually use, but as far as I can see, doesn't provide code completion feature. Does it ?
ZeroCool
for C/C++ gnu global is better
Alex Ott
CEDET is far more powerful than GNU Global
Carmine Paolino
A: 

When I'm editing python code in Emacs, I like and use pysmell for code completion:

http://code.google.com/p/pysmell/

Greg
Way to answer a question that wasn't asked.
Eisen
+4  A: 

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:

And it's also available via ELPA.

Carmine Paolino
A: 

I find that learning how to type fast (and having a decent memory) beats auto completion every time. How far must we go to try and dumb down programming?

xcramps
+1 Because I agree - It may be useful, but in the end practice and a firm knowledge base are more useful.
Chris Lutz
What about Thousands lines project ?
ZeroCool
The older I get the more I use -- and rely on -- code completion. Anything that keeps me focused on solutions instead of incantations is a big win.
roufamatic
This doesn't answer the question, does it?
Alexander Stolz
A: 

CEDET is just great, certainly needs some time at the beginning but worth it though.

ZeroCool
+1  A: 

GCCSense

From the author of Auto Complete Mode. It uses gcc to find candidates for code completion as the name suggests.

emacs gccsense screenshot

J.F. Sebastian
A: 

to be honest for i like plain old dabbrev-expand (M-/), yes it doesn't use any contextual information other than what characters are adjacent in the open buffers, but on the plus side it doesn't use any contextual information ;) this means you can complete from text you have written first in tests or comments.

for other options http://www.emacswiki.org/emacs/CategoryCompletion

jk