[clang] [clang-tools-extra] [clangd] Show struct fields and enum members in hovers (PR #89557)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 22 08:38:18 PDT 2024


HighCommander4 wrote:

> what about showing this kind of "summary" only when hovering over the declaration of the symbol, rather than references?

Did you mean the other way around (references and not declaration, since when you're at the declaration you're likely already looking at the fields in the code)? Otherwise I'm missing the motivation for not showing it on references, which I think is the main part of the use case (being able to see this information at a glance when you're in a different file).

https://github.com/llvm/llvm-project/pull/89557


More information about the cfe-commits mailing list