Hi,
I thought that querying a list of all overridden methods of a virtual method would be pretty nice. For example when having this code base:
class Base {
public:
virtual void foo() = 0;
};
class Impl1 : public Base {
public:
void foo() { std::cout << "In Impl1\n"; } override
};
class Impl2 : public Base {
public:
void foo() { std::cout << "In Impl2\n"; } override
};
When the cursor is on any foo declaration / definition and executing :ClangdShowOverrides this could open a new split in which you would get something like this:
Base::foo()
- Impl1::foo()
- Impl2::foo()
As in :ClangdTypeHierarchy you could jump to definition by hovering any line.
Thanks,
Steve
Hi,
I thought that querying a list of all overridden methods of a virtual method would be pretty nice. For example when having this code base:
When the cursor is on any foo declaration / definition and executing
:ClangdShowOverridesthis could open a new split in which you would get something like this:As in
:ClangdTypeHierarchyyou could jump to definition by hovering any line.Thanks,
Steve