(I am using RHEL7).
For Vim I create a tags file with find and ctags, running it from the directory which contains my many directories of Python packages source code.
Initially I was doing this:
find . -name \*.py | xargs ctags
but at some point I found that it was missing some entire packages.
Strangely it got fixed when I decided to skip all the test directories with:
find . -name \*.py -not \( -path \*/tests\*/\* \) | xargs ctags
I recently added some more Python packages and now this fix is skipping some directories again.
BTW, this works:
find . -name \*.py > files_for_ctags.txt; ctags -L files_for_ctags.txt
so for now it will be my solution.
But it would be nice to understand why the xargs version sometimes skips and entire directory of tags.
Any suggestions?