bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: when does gtags generate empty GTAGS, GPATH, GRTAGS?


From: liang tang
Subject: Re: when does gtags generate empty GTAGS, GPATH, GRTAGS?
Date: Tue, 23 Nov 2021 10:45:55 +0800

cc bug-global@gnu.org

liang tang <liangtang20080522@gmail.com> 于2021年11月22日周一 下午7:09写道:
It is a very big program, 'gtags --explain' outputs 4,205,481 lines.
image.png

after some processing using grep/sort/uniq, the main output is as follows:
         suffix:   |.c|
        suffix:   |.c++|
        suffix:   |.cc|
        suffix:   |.cpp|
        suffix:   |.cxx|
        suffix:   |.h|
        suffix:   |.H|
        suffix:   |.hh|
        suffix:   |.hpp|
        suffix:   |.hxx|
        suffix:   |.java|
        suffix:   |.php|
        suffix:   |.s|
        suffix:   |.S|
        suffix:   |.y|

language: |asm|
        language: |c|
        language: |cpp|
        language: |java|
        language: |php|
        language: |yacc|

parser:   |assembly|
        parser:   |C|
        parser:   |Cpp|
        parser:   |java|
        parser:   |php|
        parser:   |yacc|

library:  |built-in|

many files are skipped, such as  files name begins with a dot and so on.

Shigio YAMAGUCHI <shigio@gnu.org> 于2021年11月21日周日 下午12:20写道:
Hello,
Could you please try the following command?

$ gtags --explain

It shows how gtags handles the files under the project.

Regards,
Shigio

On Sat, Nov 20, 2021 at 5:08 PM liang tang <liangtang20080522@gmail.com> wrote:
>
> Hi
> Sometimes using gutentags with gtags will generate empty GTAGS, GPATH, GRTAGS. I and others come across this question.
> Look https://github.com/ludovicchabant/vim-gutentags/issues/225 for detailed background. I tried many ways mentioned in the link but cannot solve the problem.
>
> How can we solve this? I guess some unsupported files may corrupt gtags files.
>
> Appreciate your help.



--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB

reply via email to

[Prev in Thread] Current Thread [Next in Thread]