[PATCH] D35894: [clangd] Code hover for Clangd

Marc-Andre Laperle via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 23 07:24:26 PDT 2017

malaperle added a comment.

In https://reviews.llvm.org/D35894#903542, @ilya-biryukov wrote:

> In https://reviews.llvm.org/D35894#895023, @Nebiroth wrote:
> > I would like some feedback/suggestions on whether it's possible to "append" information to a MarkedString to be displayed on client?
> You mean append **after** returning `MarkedString` to the client? I don't think that's possible.
>  Under what circumstances this could be useful? In general, it seems perfectly fine if we send the whole description+documentation right away.

I think he meant to have multiple sections in the hover, one C/C++ and one not. But we noticed you can have an array of MarkedString in Hover so it should be fine.


More information about the cfe-commits mailing list