[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: global update remove records generated by ggtags --accept-dotfile
From: |
sasha Kapustin |
Subject: |
Re[2]: global update remove records generated by ggtags --accept-dotfiles key |
Date: |
Thu, 12 Dec 2024 09:25:19 +0300 |
Thanks a lot!
I think is a good solution for me.
Best regards, Alexander.
четверг, 12 декабря 2024г., 04:32 +03:00 от Shigio YAMAGUCHI shigio@gnu.org :
>Hello,
>'global -u' is a command to simplify 'gtags -i', but it can only
>be used if no options are given to gtags(1).
>
>For now there are two solutions:
>
>1. Use of 'gtags -i --accept-dotfiles'.
>
>2. Use of GTAGS_OPTIONS variable.
>
> [gtags.conf]
> +-------------------------
> |...
> |default:\
> | :tc=native:GTAGS_OPTIONS=--accept-dotfiles:
>
>Regards,
>Shigio
>
>On Wed, Dec 11, 2024 at 10:57PM sasha Kapustin < dyens@mail.ru> wrote:
>
> Hi!
>
> I would like to use ggtags with --accept-dotfiles option, but global -u
> removes records for hidden files\directories.
>
> * What is your environment (OS)?
> linux\fedora(6.11.5-300.fc41.x86_64)
>
> * Which version of Global are you using?
> 6.6.5
>
> * What did you do? (command line)
> tree -a
> ├── a.py
> └── .hidden
> └── hidden.py
>
> export GTAGSLABEL=ctags
> gtags --accept-dotfiles .
>
> global -v -- Hidden # Works fine!
> hidden/hidden.py
> 1 file located (using '/tmp/playtags/GTAGS').
>
> global -u
> playtags> global -v -- Hidden
> object not found (using '/tmp/playtags/GTAGS').
>
> Best regards, Alexander.
>
>
>
>--
>Shigio YAMAGUCHI < shigio@gnu.org>
>PGP fingerprint:
>26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB