includeme

Homepage: https://github.com/jart/includeme

Author: Justine Tunney

Updated:

Summary

Auto C/C++ '#include' and 'using' in Emacs

Commentary

**Demo Video: **

includeme is an extension for GNU Emacs that will automatically insert
`#include` and `using` statements into your source code while you write
C/C++ and it's 100% guaranteed to actually work. For instance if you started
writing a new C++ program and typed `cout` and then pressed the magic key,
includeme would then insert `#include ` and `using std::cout` at
the top of your file.

So what's the catch? It only works for popular and standardized
APIs. No attempt is made whatsoever to analyse your code. includeme
comes with a database of all the symbol and header definitions for
libraries deemed important by Justine Tunney. Things like POSIX,
the Standard C Library, C++ STL, etc.

Installation:

Put this stuff in your init file:

    (add-to-list 'load-path "/PATH/TO/INCLUDEME")
    (require 'includeme)
    (define-key c-mode-base-map (kbd "C-c i") 'includeme)

Dependencies