clang_complete icon indicating copy to clipboard operation
clang_complete copied to clipboard

Display brief comments in preview window

Open gribozavr opened this issue 13 years ago • 6 comments

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.

gribozavr avatar Sep 15 '12 12:09 gribozavr

Hi Tobias,

I have pushed a few commits that should address your comments.

gribozavr avatar Sep 22 '12 18:09 gribozavr

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 avatar Oct 19 '12 07:10 awlosnie

@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.

tobiasgrosser avatar Nov 18 '12 13:11 tobiasgrosser

@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).

awlosnie avatar Nov 19 '12 09:11 awlosnie

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

tobiasgrosser avatar Nov 19 '12 10:11 tobiasgrosser

+1 for this feature

jstasiak avatar Nov 21 '12 22:11 jstasiak