================ @@ -1751,6 +1752,7 @@ static std::optional<HierarchyItem> symbolToHierarchyItem(const Symbol &S, } HierarchyItem HI; HI.name = std::string(S.Name); + HI.detail = (S.Scope + S.Name).str(); ---------------- HighCommander4 wrote:
I agree, showing the signature here would be quite useful. I actually started implementing this for incoming calls in https://github.com/clangd/clangd/issues/915, but ran into a complication (our current indexing process doesn't actually store the signature for all functions). This is solvable with some indexer changes, but I'll defer to a fix for that issue, which will now (once this patch is merged) benefit both incoming and outgoing calls. https://github.com/llvm/llvm-project/pull/77556 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits