Hi guys,
I would like to use the go to definition feature to jump from a local variable to it’s definition. Lemme explain :
[code]#include
int test_function(int a)
{
return 2;
}
int main (int argc, char** argv)
{
int toto = 3;
return test_function(toto);
}[/code]
when I click on the second occurence of test_function, press F12 it jumps the first occurence, to the definition of test_function. However when I place the cursor on the second occurence of toto then press F12 ST says “unable to find toto”.
Is there a solution to this ? I always do Crtl+D many times to find the right one …