emacsautocompletecedet

How to get emacs auto-complete to complete the functions from the included header files?


I have configured emacs for automatic code completion using emacs auto complete. I mainly use C/C++. I cannot get auto-complete to complete the function name form the included header files. For example, say I included string.h and when I type say strl, it does not give strlen as a potential candidate. Is there possibly a way to set this up?

I tried CEDET but the smart completion in CEDET is too slow or I may have it set up incorrectly.

Thanks, skr


Solution

  • According to the autocomplete-mode manual it has build support for completion from a semantic(a CEDET component) source. I urge to take a look at the manual, alternatively one can create a custom completion source.