emacsorphanage / helm-gtags

GNU GLOBAL helm interface
203 stars 32 forks source link

helm-gtags-parse-file is inconsistent with helm-gtags-find-tag-from-here #165

Open introom opened 7 years ago

introom commented 7 years ago

suppose I am in https://github.com/torvalds/linux/blob/master/net/ipv4/tcp_bbr.c

for the tag: pacing_gain

'helm-gtags-find-tag-from-here' finds the result, while 'helm-gtags-parse-file' failed.

video record here: https://asciinema.org/a/9yg9ehh5iu4o617rxqgvxr9ut

syohex commented 7 years ago

GNU Global does not support tagging variable, struct fields definitions. GNU global --symbol option can show them but it shows symbol references too. And --symbol option cannot use with --definition option.

introom commented 7 years ago

how to make the result of `helm-gtags-parse-file' be the combination of both "global -s" and "global -d". would you please let me know which place to modify ?