Closed huangguiyang closed 7 years ago
Yes, you need to update global tag when you rename function/symbol names.
Can helm-gtags do it automatically?
Set helm-gtags-auto-update
non-nil and enable helm-gtags-mode, then helm-gtags updates tag at file saving time.
Yes, I do. But helm-gtags only update GTAGS, but GRTAGS file is not updated.
It seems that the option --single-update
may be the reason.
Ah, I see.
Please update tag manually in this case. Sorry.
OK. Waiting for your fix →_→
For example, after I rename a function
foo
tobar
, update all related function call occurrencesfoo()
withbar()
and save them.helm-gtags-find-rtag
can't find references ofbar
unless I rungtags
in the source directory manually or runhelm-gtags-find-rtag
in emacs with command prefix 'C-u'.