Lets say I have the below code in C++:
class FuncReturnType
{
}
FuncReturnType function()
{
...
}
auto var = function()
// I want to go put my cursor in 'var' below and do something similar to push-tag that takes
// me to the definition of the type of 'var' - i.e. it takes me to 'class FuncReturnType'
newfunction(var, xxx)
I would like to go to the definition of the type that 'var' is.
Is there something similar to 'push-tag' that will take me to the definition of the type of 'var' instead of where 'var' is defined?
See my comment above newfunction() in the code above for more clarity.