Closed jckarter closed 9 years ago
Just commenting to register my interest in this.
This is a planned feature, yes.
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!
:+1:
:+1:
:thumbsup:
:+1:
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
Demo here
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.