|
From: | Shigio YAMAGUCHI |
Subject: | Re: Gtag skip feature |
Date: | Fri, 17 Jun 2016 09:59:09 +0900 |
Hi,> This may be suggestions for gtag.>> I have source tree which has many sym links and sub trees> which I do not want to parse. Gtags has a "skip" feature but> it's limited and here are suggestions.>> 1. Option for not following sym link.> Currently, follows blindly and increases tag db size.Please try this:$ find -type -f -print | gtags -f -> 1. No glob on skip path.> Since not able to use glob on path name so have to list out all> names explicitly which could have too many.The skip variable is an old facility. I'd like to suggest -f (--file)option, which can be combined with UNIX's find(1) command.Since find(1) has rich options to select files, you can do everything.This technique can also be applied to any other tagging systems likectags, cscope, and etc.> 3. No multiple skip setting.> Not able to have "skip" variable more than one in the conf and> ends up long single line when there are many to skip. For example,All values of skip, langmap and gtags_parser are adopted and connectedrespectively. (man gtags.conf)Regards,Shigio--Shigio YAMAGUCHI <address@hidden>PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
[Prev in Thread] | Current Thread | [Next in Thread] |