Skip to content

Why helm-gtags keeps saying "File GTAGS not found. Run 'gtags'(y or n)"? #185

@c02y

Description

@c02y

My source code directory is like this:

 - top dir
  -- .git
  -- src
  -- submoduleA
     -- .git
  -- submoduleB
     -- .git

So I open a file in submoduleA and run helm-gtags function like helm-gtags-find-tag and it will prompt for creating GTAGS files:

File GTAGS not found. Run 'gtags'(y or n)

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:

 File GTAGS not found. Run 'gtags'(y or n)

So helm-gtags cannot find GTAGS files.

But if I choose top dir as Root 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions