[cfe-dev] Will clangd support per parameter completion information?

Ilya Biryukov via cfe-dev cfe-dev at lists.llvm.org
Mon Sep 4 05:17:56 PDT 2017


Hi Francisco,

The LSP has this feature, it's called signature help:
https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#textDocument_signatureHelp
.

We don't have it in clangd, but it's not hard to implement it.
Actually, discussion about it came up during one of recent changes that
improve completion: https://reviews.llvm.org/D37101.
+raoulwols, who is the author of the change. Raoul, maybe you had plans
regarding signature help?

On Mon, Sep 4, 2017 at 11:04 AM, Manuel Klimek <klimek at google.com> wrote:

> On Tue, Aug 29, 2017 at 9:20 PM Francisco Lopes via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> Hi, can anyone provide info whether clangd will cover support for
>> completion
>> after ( or , as supported by libclang as explained at:
>>
>> http://nosubstance.me/articles/2015-01-29-better-completion-for-cpp/
>>
>> This is quite useful when one need to get type information for a given
>> parameter
>> without having to rewrite the entire function to get completion +
>> placeholders.
>>
>
> I'd say it should; the question is obviously the priority / timeline :)
>
> I also don't know whether Language Server Protocol is friendly to such
>> feature.
>>
>> Regards,
>> Francisco Lopes
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>


-- 
Regards,
Ilya Biryukov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170904/2b5d187b/attachment.html>


More information about the cfe-dev mailing list