[clangd-dev] Code completion overload folding

Jan Korous via clangd-dev clangd-dev at lists.llvm.org
Wed Jun 13 13:55:05 PDT 2018


Sorry for being late to the discussion.

I agree that for Objective-C it doesn’t make sense to omit parameter names to group methods with the same name.

Jan

> On Jun 11, 2018, at 7:22 AM, Sam McCall via clangd-dev <clangd-dev at lists.llvm.org> wrote:
> 
> Yeah, merging only results from the same header makes sense to me. It's not in the prototype because 
> 
> I'd personally find it hard to give up the signature for non-overloads (and non-functions). But this does strike me as a place a (second) option might make sense.
> I assumed people would want the popular/likely overload bundles exploded into individual items, but it seems that's just me. Maybe explode-after-full-name is a good fallback for editors that don't support signature help?
> 
> [6 overloads] is better than [overloaded] for sure. I was just too tired to fix it on Friday :-)
> _______________________________________________
> clangd-dev mailing list
> clangd-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev



More information about the clangd-dev mailing list