ycm-core / YouCompleteMe

A code-completion engine for Vim
http://ycm-core.github.io/YouCompleteMe/
GNU General Public License v3.0
25.44k stars 2.81k forks source link

Show doc comments in semantic completions #106

Closed jckarter closed 9 years ago

jckarter commented 11 years ago

Bleeding-edge versions of clang are able to parse and index doc comments alongside definitions, and it'd be cool if YouCompleteMe could display some part of the doc comment for the cuurently chosen semantic completion.

sethfowler commented 11 years ago

Just commenting to register my interest in this.

Valloric commented 11 years ago

This is a planned feature, yes.

oplatek commented 11 years ago

Very interested in this feature too! Btw. I would like to see this feature for Python. I know that Jedi supports it and sometimes the Scratch Preview show the docstring during using tab completition. But I would like to trigger opening preview window with docstring by standalone command of YCM. That would be really cool;) Just browsing the source code and be able to read the docstrings!

artofhuman commented 11 years ago

:+1:

ulikoehler commented 10 years ago

:+1:

jsholmes commented 10 years ago

:thumbsup:

mwatts15 commented 9 years ago

:+1:

puremourning commented 9 years ago

https://groups.google.com/forum/#!topic/ycm-users/QhY-LvqVDs0

If you're desperate for this in advance of a proper PR, then you can check out this hack here which is what generated the gif in the user group: https://github.com/puremourning/YouCompleteMe/commit/72a7dca491b2cf58940bcdb46b5d71c43067100a

puremourning commented 9 years ago

Demo here

demo