Assuming I have a code directory structure as follows:
/top
/second
/core
a.pl
b.pl
c.pl
/common
d.pl
e.pl
/util
f.pl
g.pl
h.pl
Where should I run the ctags
so that I can jump to function definitions via vi
?
For example I had:
/dir
/perl
a.pl
and I run in dir
the command ctags -R perl
but in a.pl
I could not jump to a function definition that existed in the same file.
If I did ctags -R .
inside the perl
directory it worked.
So I can not understand the pattern. Should I run ctags
in core, common,util
? What if my code base is huge? Would I really need to run it in each directory?
ctags --version
says "Exuberant Ctags...". Based on the Cygwin manifest it appears likely that that's what you've got too. – Becharm