company-mode / company-quickhelp

Documentation popup for Company
GNU General Public License v3.0
374 stars 33 forks source link

Company-clang and doc popups #93

Closed brettgilio closed 5 years ago

brettgilio commented 5 years ago

Hi there! I am new to your great tool. I am wondering if it is possible to get company-quickhelp to popup documentation tips for c/c++ code using company-clang? I've been searching for awhile now and I can't seem to get it to work, though it seems to be possible?

Any ideas?

expez commented 5 years ago

Most likely that backend for company doesn't provide docstrings. If / when it does it should work automatically with company-quickhelp.

You can confirm this hypothesis by hitting f1, with a completion candidate selected, to trigger companys help buffer. If no documentation is visible in the **help** buffer created by company then there's nothing for company-quickhelp to show and the failure is expected.