Example code:
typedef int my_type_t;
my_type_t a;
my_type_t my_function(my_type_t in)
{
return (my_type_t) 0;
}
int main(void)
{
my_type_t b;
a = my_function(b);
return 0;
}
When I run dump-jump-go
on my_type_t
, it finds all references to the type, instead of the type definition:
This is not what I expect after reading the documentation. The same happens with functions: definitions, declarations, and calls pop up.
Installing the dumb-jump package from elpa gave the following warnings, but I'm not sure they matter:
dumb-jump.el:1475:1:Warning: Unused lexical argument `proj'
dumb-jump.el:1622:1:Warning: Unused lexical argument `config'
dumb-jump.el:2251:1:Warning: Unused lexical argument `cur-file'
dumb-jump.el:2300:1:Warning: Unused lexical argument `exclude-paths'
dumb-jump.el:2300:1:Warning: Unused lexical argument `lang'
In end of data:
dumb-jump.el:2372:1:Warning: the following functions are not known to be defined: ivy-read,
helm-build-sync-source