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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to