I have just discovered the taglist plugin for vim, and read about how to use it with ctags.
However, disappointingly ctags is a very simple parser.
Is there an alternative that is more complete?
Specifically I'm looking for something that:
expands
#define(x, y) x ## y
style macros for function declarationsprocesses
#include
statementsallows include paths to be specified for dependencies
I see that clang provides a programatic api for accessing the c AST, so surely this isn't terribly hard to do?
Has someone already done it?
--
Edit:
These ones don't cut it:
clang_indexer - Doesn't compile; when it does (after hacking), doesn't work (endless errors).
clang_complete - Doesn't seem any better than ctags. No context specific recommendations, no struct completion, no function arguments, no macro expansion; just a list of symbols and the file they came from.
clang_complete
handles macros, but apart from that I am happy with it since a long time. The points you were unhappy with don't come from the same clang_complete that I use daily (from github). – Isotropic