[PATCH] D38048: [clangd] Add textDocument/signatureHelp
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 5 03:09:43 PDT 2017
ilya-biryukov added a comment.
@francisco.lopes, thanks for sharing your experience, I definitely like the final UX you achieved, we should aim for something similar in clangd.
It also looks like @rwols's idea of how things should look like is very close to your implementation.
I do think that showing signatures for non-overloaded functions in completion may still be useful. Overloaded functions can be grouped by name and include some indicators that there are more overloads (something like `foo(int) void (+5 overloads)`.
How do you choose return type for the completion item if function is overloaded? Show it only when it's the same for all overloads? Go with one of the return types?
https://reviews.llvm.org/D38048
More information about the cfe-commits
mailing list