Integrate with Clang/libclang for C/C++

codex 13 aastat tagasi uuendaja Rocco 11 aastat tagasi 5
The holy grail of C/C++ text editors is to integrate with Clang/libclang and parse the code the way the compiler does--by actually compiling the code.  This would enable extremely expressive syntax highlighting, continuous build error reporting, and full refactoring, without having to maintain one's own parser.
See http://llvm.org/devmtg/2010-11/Gregor-libclang.pdf for the gist of what Clang gets 'ya.
This doesn't necessarily have to be difficult to implement.

You should consider first going the route that vim did.  They allow user pluggable extensions to provide the drop-down list.  There's already a vim-clang extensions to take a peek at if you're interested.

FYI I started a plugin for clang autocompletion. It's pretty functional already, but does need more work. Check it out if you're coding in C/C++

Neat plugin. I'll have to try it out.

Now we just need to vote with our money to get the author to officially support clang. The code doesn't look too complex at all.

I have just downloaded Sublime as I am searching for a better code editor. It is great to see that there is a C/C++ plugin. I would like to know if there is a goto definition plugin that works for C/C++ and even objective C. I understand that there is one called codeIntel however it doesn't work for my project. Also is there a plugin that allows relationship diagrams (call trees) to be derived from the project? Any help will be appreciated.