For Typescript, and likely C++, the command to Show call hierarchy exists.
Additionally there are extensions in the marketplace that will provide a visual representation of the function call hierarchy. For example, the AtomicViz extension available here