auto-complete-c-headers

https://github.com/mooz/auto-complete-c-headers.git

git clone 'git://github.com/mooz/auto-complete-c-headers.git'
17

auto-complete-c-headers

An auto-complete source for C/C++ header files.

screenshot

Setup

(defun my:ac-c-headers-init ()
  (require 'auto-complete-c-headers)
  (add-to-list 'ac-sources 'ac-source-c-headers))

(add-hook 'c++-mode-hook 'my:ac-c-headers-init)
(add-hook 'c-mode-hook 'my:ac-c-headers-init)

Customizing

See docstrings of achead:include-directories and achead:get-include-directories-function.