clang_complete
clang_complete copied to clipboard
Display brief comments in preview window
This change uses the new Clang documentation support to extract brief comments. This requires updating libclang.py to the latest version.
Partially fixes issue #174.
Hi Tobias,
I have pushed a few commits that should address your comments.
Will the brief comments from clang binary also be supported in clang_complete (for g:clang_use_library = 0)? I've found that there is a new -code-completion-brief-comments parameter in the source code of the clang frontend executable (but not yet available in release 3.1 for mingw).
@awlosnie: I would personally prefer to remove support for the clang binary completely. What is the reason you can not use libclang?
@gribozavr: I just created a pull request (https://github.com/Rip-Rip/clang_complete/pull/213) that updates clang_complete to the latest version of cindex.py. This request also adds support for brief comments. Would you mind rebasing your patchset on top of this pull request. I would like to get this feature into clang_complete.
@tobig: Thank you for your answer. I had a problem to configure it right in windows in gvim, so my solution was based on the executable version of clang. After your post I tested it ones again and now it seams to work with the libclang.dll (I just had to rename clang.dll to libclang.dll).
On 11/19/2012 10:40 AM, awlosnie wrote:
@tobig https://github.com/tobig: Thank you for your answer. I had a problem to configure it right in windows in gvim, so my solution was based on the executable version of clang. After your post I tested it ones again and now it seams to work with the libclang.dll (I just had to rename clang.dll to libclang.dll).
— Reply to this email directly or view it on GitHub https://github.com/Rip-Rip/clang_complete/pull/199#issuecomment-10507453.
@awlosnie: Great!
Tobi
+1 for this feature