Open c02y opened 5 years ago
Hi, I encountered this issue long time ago. And I think this issue could be either the original design decision or the a bug from this package.
I think the best solution would just select the project directory as default rather than asking the user for the input. 😕 Thanks!
My source code directory is like this:
So I open a file in submoduleA and run
helm-gtags
function likehelm-gtags-find-tag
and it will prompt for creating GTAGS files:and then I choose the
src
directory as the "Root Directory" for GTAGS, after it finishes.I do
helm-gtags-find-tag
again, the it will prompt again:So
helm-gtags
cannot find GTAGS files.But if I choose
top dir
asRoot Directory
, it works as expected.But if I use xcscope which uses cscope, and put the database files for cscope in
src
directory, and xcscope works fine.Is this a bug for
helm-gtags
?